[Bug 110784] Re: Toshiba laptop battery is drained while shut down

Samuli Seppänen samuli at openvpn.net
Thu Mar 18 21:06:01 UTC 2010


I've experienced this exact same problem on Ubuntu 9.04 and 9.10 running
on the first version of Macbook (1,1). I finally did some testing to get
real test results. The battery is roughly 50% of the original capacity
to start with:

design capacity:         50200 mWh
last full capacity:      27090 mWh

This problem is caused by the "platform" (ACPI) poweroff mode used (by
default) during hibernation. Switching to "shutdown" mode solves the
problem:

- in "platform" mode the battery is drained by ~13%  in ~12 hours
- in "shutdown" mode the battery is not drained at all in ~12 hours 

To fix this issue, I added a new script to /etc/pm/sleep.d and made it
executable:


#!/bin/sh

# /etc/pm/sleep.d/51local

case "$1" in
        hibernate|suspend)
                # Switch to "poweroff" mode (instead of "platform")
                #
                # Adapted from
                #
                # https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume
                echo shutdown > /sys/power/disk
                ;;
        thaw|resume)
                # Do nothing
                ;;
        *) exit $NA
                ;;
esac

-- 
Toshiba laptop battery is drained while shut down
https://bugs.launchpad.net/bugs/110784
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.




More information about the kernel-bugs mailing list