English
Ask Your Question
0

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

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-20 16:27:51 +0000

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

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

Seen: 123 times

Last updated: Apr 19