Battery drain overnight

asked 2017-04-19 12:00:14 +0000

Minky gravatar image

Hi. my laptop's battery is by all means healthy, i.e. I get a few hours work when I take the laptop with Fedora 25 out to work. However, sometimes the same (fully charged) laptop, left overnight with lid closed, and checked to make sure it did fall asleep, is found in the morning with a completely drained battery. How come???

edit retag flag offensive close merge delete

Comments

1

Can you please go through system logs (journalctl -b or journalctl -b -1, see journalctl --list-boots for a list of recent boots) and see whether it woke up over night? You could check the time stamp when you put it to sleep, and if anything was logged after that. If yes, then your computer did not suspend correctly. If no, then there is some hardware not being suspended correctly due to power management issues. https://wiki.archlinux.org/index.php/... might be of help.

genodeftest ( 2017-04-19 14:17:03 +0000 )edit

Thx for the swift response. I also suspect the machine wakes up on its own. I shall proceed as you suggest, however, I also just installed Powertop. Would it be able to take care of the disobedient hardware modules?

Minky ( 2017-04-19 15:06:59 +0000 )edit

First, what I notice is thousand upon thousand of these messages (every second, for hours, while I was working on the machine):

iio-sensor-prox[770]: Could not open input accel '/dev/input/event13': Operation not permitted

Minky ( 2017-04-19 15:33:36 +0000 )edit

Briefly, my impression is that the machine woke up on its own for whatever reason, connected to freedsktop.org , and continued with the previously described nonsense:

iio-sensor-prox[770]: Could not open input accel '/dev/input/event13': Operation not permitted

Minky ( 2017-04-19 15:37:52 +0000 )edit

This seems to be responsible for the wakeup:

kernel: r8169 0000:01:00.0: System wakeup enabled by ACPI

Minky ( 2017-04-19 15:39:20 +0000 )edit