LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-29-2018, 10:04 AM   #1
YuGiOhJCJ
Member
 
Registered: Apr 2015
Posts: 53

Rep: Reputation: Disabled
ASUS E200HA get the remaining battery


Hello,

I have an ASUS Vivobook E200HA.
I installed Slackware64 14.2 on it with Linux 4.14.13.

The problem is that I am not able to find the remaining battery.
Here are some tries:
Code:
$ lsmod | grep bat
battery                24576  0
$ sudo dmesg | grep BAT
[    0.000000] ACPI: BCFG 0x000000007A1E92B8 000139 (v01 INTEL  BATTCONF 00000001 INTL 00000000)
[    0.214633] ACPI Exception: Could not find/resolve named package element: \_SB_.PCI0.I2C7.BATC (20170728/dspkginit-381)
[    0.215389] ACPI Exception: Could not find/resolve named package element: \_SB_.PCI0.I2C7.BATC (20170728/dspkginit-381)
$ ls /proc/acpi/battery/
$ ls /sys/class/power_supply/
ADP1@
$ upower -e

(upower:1651): libupower-glib-WARNING **: Couldn't enumerate devices: Message recipient disconnected from message bus without replying

(upower:1651): UPower-WARNING **: failed to enumerate: Message recipient disconnected from message bus without replying
Do you know how can I get the remaining battery please?

Thank you.
Best regards.

Last edited by YuGiOhJCJ; 03-29-2018 at 10:06 AM.
 
Old 03-29-2018, 10:02 PM   #2
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Have you tryed something like this? https://www.ostechnix.com/how-to-che...inal-in-linux/
 
Old 03-30-2018, 01:29 AM   #3
YuGiOhJCJ
Member
 
Registered: Apr 2015
Posts: 53

Original Poster
Rep: Reputation: Disabled
Done with the 'upower' package (upower 0.9.23):
Code:
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
failed to set path: cannot refresh: Cannot get device properties for /org/freedesktop/UPower/devices/battery_BAT0: Couldn't call GetAll() to get properties for /org/freedesktop/UPower/devices/battery_BAT0: Message recipient disconnected from message bus without replying
$ upower -i `upower -e | grep 'BAT'`

(upower:1345): libupower-glib-WARNING **: Couldn't enumerate devices: Message recipient disconnected from message bus without replying

(upower:1345): UPower-WARNING **: failed to enumerate: Message recipient disconnected from message bus without replying
$ upower -i $(upower -e | grep BAT) | grep --color=never -E "state|to\ full|to\ empty|percentage"

(upower:1357): libupower-glib-WARNING **: Couldn't enumerate devices: Message recipient disconnected from message bus without replying

(upower:1357): UPower-WARNING **: failed to enumerate: Message recipient disconnected from message bus without replying
Done with the 'acpi' package (acpi 1.7):
Code:
$ acpi -V
Adapter 0: on-line
Thermal 0: ok, 0.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 90.0 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: Processor 0 of 10
Cooling 2: intel_powerclamp no state information available
Cooling 3: STR0 no state information available
Cooling 4: PNIT no state information available
Cooling 5: soc_dts1 no state information available
Cooling 6: Processor 0 of 10
Cooling 7: Processor 0 of 10
Cooling 8: ath10k_thermal 0 of 100
Cooling 9: INT3400 Thermal no state information available
Cooling 10: soc_dts0 no state information available
$ acpi
$ acpi -t
Thermal 0: ok, 0.0 degrees C
$ acpi -t -f
Thermal 0: ok, 32.0 degrees F
$ acpi -a
Adapter 0: on-line
So, it does not work.
Any other suggestion?

Last edited by YuGiOhJCJ; 03-30-2018 at 01:45 AM.
 
Old 03-30-2018, 07:58 AM   #4
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I seems like your battery is not communicating with your system. Has it always been like that? It is possible that your battery is failing.

I have a similar effect on my laptop. I dual boot, it still works under Linux, however on Windows it says no battery detected.
 
Old 03-31-2018, 04:22 AM   #5
YuGiOhJCJ
Member
 
Registered: Apr 2015
Posts: 53

Original Poster
Rep: Reputation: Disabled
Yes, it has always been like that.
However, I don't know the behavior on Windows because I am not in dual boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing Slackware64 14.2 on a Asus E200HA: Kernel panic YuGiOhJCJ Slackware - Installation 2 01-13-2018 12:13 AM
Odd values in battery time remaining. horizn Slackware 1 12-13-2016 09:27 AM
Battery Remaining Capacity jay_manikandan Linux - Newbie 2 10-17-2007 03:01 AM
Remaining Battery Energy/Lifetime Detection Siva4Linux Linux - Laptop and Netbook 4 12-19-2006 04:47 AM
How to check the remaining battery power in linux icoming Linux - Laptop and Netbook 2 10-14-2004 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration