Skip to content
Commit 6680d0f0 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

power: Fix time to empty with multiple batteries

If one battery is draining and the other one isn't, the time
to empty wouldn't be zero, but it would only match the time
to empty for the single battery.

Instead, short-circuit the time_to_empty re-calculation for
single battery systems, and ignore the accumulated time to
empty/time to full for multiple batteries and recalculate it.

https://bugzilla.gnome.org/show_bug.cgi?id=710344
parent 28e7a47e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment