Bug#561660: sleepd: Only one battery is checked with --battery

2017-01-16 Thread martin f krafft
also sprach Thomas Arendsen Hein [2017-01-16 18:30 +1100]: > > I think it'd be best to compare against the average of the load > > level of all available batteries. > > Sounds good enough. > > One could argue that only the battery with the highest level > should be

Bug#561660: sleepd: Only one battery is checked with --battery

2017-01-15 Thread Thomas Arendsen Hein
* martin f krafft [20170116 04:09]: > I think it'd be best to compare against the average of the load > level of all available batteries. Sounds good enough. One could argue that only the battery with the highest level should be checked, but this might assume certain

Bug#561660: sleepd: Only one battery is checked with --battery

2017-01-15 Thread martin f krafft
also sprach Thomas Arendsen Hein [2009-12-19 22:04 +1100]: > Test with: > # acpi > Battery 0: Discharging, 94%, 02:51:28 remaining > Battery 1: Unknown, 72% > # sleepd -n -v -E --sleep-command=beep --battery 99 > sleepd[16422]: battery level 94% is below 99%; forcing

Bug#561660: sleepd: Only one battery is checked with --battery

2009-12-19 Thread Thomas Arendsen Hein
Package: sleepd Version: 2.01 Severity: normal Test with: # acpi Battery 0: Discharging, 94%, 02:51:28 remaining Battery 1: Unknown, 72% # sleepd -n -v -E --sleep-command=beep --battery 99 sleepd[16422]: battery level 94% is below 99%; forcing hibernation In my case (HP Compaq NC6400) Battery 0