https://bugzilla.kernel.org/show_bug.cgi?id=218343
Bug ID: 218343 Summary: discharge rate not reported Product: ACPI Version: 2.5 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P3 Component: Power-Battery Assignee: acpi_power-batt...@kernel-bugs.osdl.org Reporter: marvi...@gmx.de Regression: No Hi, I noticed a strange phenomenon while trying to find out the power consumption of my notebook (HP Elitebook 850). While AC plugged in, the charging current is shown in /sys/class/power_class/BAT0/current_now, but when I unplug it, the current rate is unavailable: /sys/class/power_supply/BAT0# while /bin/true; do cat current_now; sleep 1; done --- with AC --- 254000 253000 253000 253000 --- unplug AC --- 0 cat: current_now: No such device cat: current_now: No such device cat: current_now: No such device cat: current_now: No such device cat: current_now: No such device --- plug AC --- 0 0 0 0 242000 290000 286000 285000 ^C I already "debugged" that in battery.c that for unplugged state the rate returned is indeed "-1", so the output above makes sense. I just wonder if it could report also the (more interesting) discharge current instead of the charging current. Is there some way to better debug this, eg. by manually reading the ACPI tables? -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla