Chrome OS Can't estimate battery runtime with multiple batteries
Reported by
craig_co...@outlook.com,
Nov 20 2017
|
||||
Issue descriptionChrome Version: 60.0.3112.117 Chrome OS Version: 60.2.93 Chrome OS Platform: Lenovo X250 Network info: n/a Chromium OS cannot provide estimated runtimes on DC (battery) on systems with multiple batteries. Lenovo Thinkpad X250 with two batteries constantly saying "100% - Estimating..." on DC power. (Battery levels shown correctly in Linux/Windows)
,
Jan 16 2018
Does https://crrev.com/c/853295 help? (You'll need to echo "1" into /var/lib/power_manager/multiple_batteries.)
,
Jan 19 2018
,
Jan 21 2018
It doesn't, unfortunately.
,
Jan 22 2018
Can you attach the output from print_sysfs_power_supply_data?
,
Feb 8 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/d78541d879de653f130b971271218a3b29ccf0e3 commit d78541d879de653f130b971271218a3b29ccf0e3 Author: Daniel Erat <derat@chromium.org> Date: Thu Feb 08 09:24:02 2018 power: Read multiple battery directories. Update powerd to read and combine multiple sysfs battery directories if a new multiple_batteries pref is set. BUG=b:71491303, chromium:786968 TEST=added unit tests Change-Id: I030f68721ea52b30c0c97e19c95906eabe692230 Reviewed-on: https://chromium-review.googlesource.com/853295 Commit-Ready: Dan Erat <derat@chromium.org> Tested-by: Dan Erat <derat@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> [modify] https://crrev.com/d78541d879de653f130b971271218a3b29ccf0e3/power_manager/powerd/system/power_supply_unittest.cc [modify] https://crrev.com/d78541d879de653f130b971271218a3b29ccf0e3/power_manager/powerd/system/power_supply.cc [modify] https://crrev.com/d78541d879de653f130b971271218a3b29ccf0e3/power_manager/common/power_constants.cc [modify] https://crrev.com/d78541d879de653f130b971271218a3b29ccf0e3/power_manager/common/power_constants.h [modify] https://crrev.com/d78541d879de653f130b971271218a3b29ccf0e3/power_manager/powerd/system/power_supply.h
,
Feb 8 2018
Closing due to lack of info, but I'm happy to reopen this bug and look into it further if you can paste the output from print_sysfs_power_supply_data while both batteries are present.
,
Mar 8 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/2a5d89ec74397c572657b858afd8e2be9b9af655 commit 2a5d89ec74397c572657b858afd8e2be9b9af655 Author: Daniel Erat <derat@chromium.org> Date: Thu Mar 08 08:37:40 2018 power: Read status of multiple batteries by default. Set powerd's multiple_batteries pref to 1 by default. BUG=b:71491303, chromium:786968 TEST=did a build and verified that /usr/share/power_manager/multiple_batteries is 1 Change-Id: I6fac6a6a0869f757fb89e58e45000ff5047fa19b Reviewed-on: https://chromium-review.googlesource.com/954053 Commit-Ready: Dan Erat <derat@chromium.org> Tested-by: Dan Erat <derat@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> [add] https://crrev.com/2a5d89ec74397c572657b858afd8e2be9b9af655/power_manager/default_prefs/multiple_batteries
,
Mar 29 2018
Hi guys, apologies, this completely slipped off my radar. How can i progress this?
,
Mar 29 2018
#9: See the request in #5 and #7. |
||||
►
Sign in to add a comment |
||||
Comment 1 by vsu...@chromium.org
, Jan 16 2018