Ask Your Question

Battery drain overnight

asked 2017-04-19 07:00:14 -0500

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



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. might be of help.

genodeftest gravatar imagegenodeftest ( 2017-04-19 09:17:03 -0500 )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 gravatar imageMinky ( 2017-04-19 10:06:59 -0500 )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 gravatar imageMinky ( 2017-04-19 10:33:36 -0500 )edit

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

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

Minky gravatar imageMinky ( 2017-04-19 10:37:52 -0500 )edit

This seems to be responsible for the wakeup:

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

Minky gravatar imageMinky ( 2017-04-19 10:39:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-20 11:27:51 -0500

Minky gravatar image

I have experienced a dead morning battery due to random wakeup on several occasions since I last posted. My last hope is the recipe from Arch forums:

cat /etc/udev/rules.d/ehc1.rules ACTION=="add", KERNEL=="0000:00:1d.0", SUBSYSTEM=="pci", RUN+="/bin/sh -c 'echo EHC1 > /proc/acpi/wakeup'"

If this doesn't work, it seems like I'd have to part from beloved Fedora :(

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-04-19 07:00:14 -0500

Seen: 500 times

Last updated: May 20 '17