protonscr

Low battery warning despite another full battery

steamopen overlay
ValveSoftware/steam-for-linux#7308 · opened 2020-08-07 by averyvigolo · updated 2023-07-20 · 1 comments · github
Aaveryvigolo 2020-08-07 github

Your system information

  • Steam client version: Aug 6 2020
  • Distribution: Arch Linux
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

I have a Thinkpad X240 laptop with multiple batteries (one removable, one built-in). Once the removable one is empty, the built-in is used.
When I'm playing a Steam game and the removable battery is close to empty, I receive a notification from Steam stating that my laptop will run out of power in less than 10 minutes, despite the built-in battery being fully charged.
The Steam overlay seems to display two overlapping battery indicators while this is happening, with the lowest capacity one on top.

Possible fixes:

  • Don't send the notification if there is another battery above a certain % charge threshold
  • Extrapolate the current power draw from the reported time remaining and current capacity of the active battery. Estimate total time remaining if all batteries in the computer are considered

Steps for reproducing this issue:

  1. Run a Steam game on a device with multiple fully-charged batteries
  2. Play until one of the batteries is close to empty
  3. Observe the low power notification from Steam
Tth1nhhdk 2023-07-20 github

I have the same problem on my ThinkPad T480

Nothing extracted yet.