Summary: | upower reports "percentage: 0%" while laptop is AC-adapter-powered and battery is 100% charged | ||
---|---|---|---|
Product: | upower | Reporter: | Bob Bib <bobbib> |
Component: | general | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | bugzilla |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
URL: | https://bugs.launchpad.net/bugs/981212 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
upower --monitor-detail
/sys/class/power_supply/BAT0/uevent /sys/class/power_supply/BAT0/uevent /proc/acpi/battery/BAT0/info /proc/acpi/battery/BAT0/state |
Created attachment 61511 [details]
/sys/class/power_supply/BAT0/uevent
Created attachment 61512 [details]
/sys/class/power_supply/BAT0/uevent
Created attachment 61513 [details]
/proc/acpi/battery/BAT0/info
Created attachment 61514 [details]
/proc/acpi/battery/BAT0/state
All attached files were taken with 100% charged battery and AC power supply connected. > energy: 0 Wh
What's the output of:
cat /sys/class/power_supply/BAT0/energy_now
?
Bastien Nocera:
> What's the output of:
> cat /sys/class/power_supply/BAT0/energy_now
> ?
Unfortunately, nothing meaningful:
$ cat /sys/class/power_supply/BAT0/energy_now
cat: /sys/class/power_supply/BAT0/energy_now: No such file or directory
It's the same laptop, but now slightly different distro:
Debian testing "jessie" / amd64
Linux 3.10.7 (3.10.7-1)
upower 0.9.21 (0.9.21-2)
The ACPI for that laptop seems pretty broken: POWER_SUPPLY_CHARGE_NOW=-1000 You should report this as a bug against the kernel at bugzilla.kernel.org. The laptop lacks energy_* information. Reopen this bug if the kernel developers think that this is actually a bug in UPower. It turns out that this was indeed a bug in upower and is resolved in arch linux package upower version 0.9.23-2 The upstream report for this is at https://bugs.freedesktop.org/show_bug.cgi?id=70952 So this I believe is now fully resolved with the latest upower version. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 61510 [details] upower --monitor-detail upower strangely reports "percentage: 0%" while laptop is AC-adapter-powered and battery is 100% charged Ubuntu 12.04 LTS / amd64 Linux kernel version: Ubuntu 3.2.0-24.37-generic 3.2.14 upower 0.9.15-3git1