[Bug 665054] [NEW] On overnight suspend battery will loose 40% charge

Chris 665054 at bugs.launchpad.net
Fri Oct 22 10:49:35 UTC 2010


Public bug reported:

My laptop is a Toshjiba M11 Tecra, new from the box a few weeks ago.

When I use suspend (OR hibernate - the result is the same) overnight the
battery charge will move from 100% when I shut it down to ~ 62% when I
start it back up 16 hours later.

I typically shut down all screen based processes, and ps -ef shows
something like this

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 09:38 ?        00:00:01 /sbin/init
root         2     0  0 09:38 ?        00:00:00 [kthreadd]
root         3     2  0 09:38 ?        00:00:00 [migration/0]
root         4     2  0 09:38 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 09:38 ?        00:00:00 [watchdog/0]
root         6     2  0 09:38 ?        00:00:00 [migration/1]
root         7     2  0 09:38 ?        00:00:00 [ksoftirqd/1]
root         8     2  0 09:38 ?        00:00:00 [watchdog/1]
root         9     2  0 09:38 ?        00:00:00 [migration/2]
root        10     2  0 09:38 ?        00:00:00 [ksoftirqd/2]
root        11     2  0 09:38 ?        00:00:00 [watchdog/2]
root        12     2  0 09:38 ?        00:00:00 [migration/3]
root        13     2  0 09:38 ?        00:00:00 [ksoftirqd/3]
root        14     2  0 09:38 ?        00:00:00 [watchdog/3]
root        15     2  0 09:38 ?        00:00:00 [events/0]
root        16     2  0 09:38 ?        00:00:00 [events/1]
root        17     2  0 09:38 ?        00:00:07 [events/2]
root        18     2  0 09:38 ?        00:00:00 [events/3]
root        19     2  0 09:38 ?        00:00:00 [cpuset]
root        20     2  0 09:38 ?        00:00:00 [khelper]
root        21     2  0 09:38 ?        00:00:00 [netns]
root        22     2  0 09:38 ?        00:00:00 [async/mgr]
root        23     2  0 09:38 ?        00:00:00 [pm]
root        25     2  0 09:38 ?        00:00:00 [sync_supers]
root        26     2  0 09:38 ?        00:00:00 [bdi-default]
root        27     2  0 09:38 ?        00:00:00 [kintegrityd/0]
root        28     2  0 09:38 ?        00:00:00 [kintegrityd/1]
root        29     2  0 09:38 ?        00:00:00 [kintegrityd/2]
root        30     2  0 09:38 ?        00:00:00 [kintegrityd/3]
root        31     2  0 09:38 ?        00:00:00 [kblockd/0]
root        32     2  0 09:38 ?        00:00:00 [kblockd/1]
root        33     2  0 09:38 ?        00:00:00 [kblockd/2]
root        34     2  0 09:38 ?        00:00:00 [kblockd/3]
root        35     2  0 09:38 ?        00:00:00 [kacpid]
root        36     2  0 09:38 ?        00:00:00 [kacpi_notify]
root        37     2  0 09:38 ?        00:00:00 [kacpi_hotplug]
root        38     2  0 09:38 ?        00:00:00 [ata/0]
root        39     2  0 09:38 ?        00:00:00 [ata/1]
root        40     2  0 09:38 ?        00:00:00 [ata/2]
root        41     2  0 09:38 ?        00:00:00 [ata/3]
root        42     2  0 09:38 ?        00:00:00 [ata_aux]
root        43     2  0 09:38 ?        00:00:00 [ksuspend_usbd]
root        44     2  0 09:38 ?        00:00:00 [khubd]
root        45     2  0 09:38 ?        00:00:00 [kseriod]
root        46     2  0 09:38 ?        00:00:00 [kmmcd]
root        51     2  0 09:38 ?        00:00:00 [khungtaskd]
root        52     2  0 09:38 ?        00:00:00 [kswapd0]
root        53     2  0 09:38 ?        00:00:00 [ksmd]
root        54     2  0 09:38 ?        00:00:00 [aio/0]
root        55     2  0 09:38 ?        00:00:00 [aio/1]
root        56     2  0 09:38 ?        00:00:00 [aio/2]
root        57     2  0 09:38 ?        00:00:00 [aio/3]
root        58     2  0 09:38 ?        00:00:00 [ecryptfs-kthrea]
root        59     2  0 09:38 ?        00:00:00 [crypto/0]
root        60     2  0 09:38 ?        00:00:00 [crypto/1]
root        61     2  0 09:38 ?        00:00:00 [crypto/2]
root        62     2  0 09:38 ?        00:00:00 [crypto/3]
root        74     2  0 09:38 ?        00:00:00 [kstriped]
root        75     2  0 09:38 ?        00:00:00 [kmpathd/0]
root        76     2  0 09:38 ?        00:00:00 [kmpathd/1]
root        77     2  0 09:38 ?        00:00:00 [kmpathd/2]
root        78     2  0 09:38 ?        00:00:00 [kmpathd/3]
root        79     2  0 09:38 ?        00:00:00 [kmpath_handlerd]
root        80     2  0 09:38 ?        00:00:00 [ksnapd]
root        81     2  0 09:38 ?        00:00:00 [kondemand/0]
root        82     2  0 09:38 ?        00:00:00 [kondemand/1]
root        83     2  0 09:38 ?        00:00:00 [kondemand/2]
root        84     2  0 09:38 ?        00:00:00 [kondemand/3]
root        85     2  0 09:38 ?        00:00:00 [kconservative/0]
root        86     2  0 09:38 ?        00:00:00 [kconservative/1]
root        87     2  0 09:38 ?        00:00:00 [kconservative/2]
root        88     2  0 09:38 ?        00:00:00 [kconservative/3]
root       391     2  0 09:38 ?        00:00:00 [scsi_eh_0]
root       392     2  0 09:38 ?        00:00:00 [scsi_eh_1]
root       393     2  0 09:38 ?        00:00:00 [scsi_eh_2]
root       394     2  0 09:38 ?        00:00:00 [scsi_eh_3]
root       395     2  0 09:38 ?        00:00:00 [scsi_eh_4]
root       396     2  0 09:38 ?        00:00:00 [scsi_eh_5]
root       401     2  0 09:38 ?        00:00:00 [i915]
root       429     2  0 09:38 ?        00:00:00 [usbhid_resumer]
root       528     2  0 09:39 ?        00:00:00 [kdmflush]
root       529     2  0 09:39 ?        00:00:00 [kcryptd_io]
root       530     2  0 09:39 ?        00:00:03 [kcryptd]
root       545     2  0 09:39 ?        00:00:00 [kdmflush]
root       549     2  0 09:39 ?        00:00:00 [kdmflush]
root       574     2  0 09:39 ?        00:00:00 [flush-252:2]
root       575     2  0 09:39 ?        00:00:00 [kjournald]
root       617     1  0 09:39 ?        00:00:00 upstart-udev-bridge --daemon
root       620     1  0 09:39 ?        00:00:00 udevd --daemon
root       933     2  0 09:39 ?        00:00:00 [kpsmoused]
root       935     2  0 09:39 ?        00:00:12 [ktoshkeyd]
daemon    1000     1  0 09:39 ?        00:00:00 portmap
root      1055     2  0 09:39 ?        00:00:00 [hd-audio0]
root      1056     2  0 09:39 ?        00:00:00 [iwlagn]
root      1057     2  0 09:39 ?        00:00:00 [phy0]
statd     1084     1  0 09:39 ?        00:00:00 rpc.statd -L
root      1157     2  0 09:39 ?        00:00:00 [kjournald]
syslog    1180     1  0 09:39 ?        00:00:00 rsyslogd -c4
root      1191     1  0 09:39 ?        00:00:00 /usr/sbin/sshd
102       1203     1  0 09:39 ?        00:00:01 dbus-daemon --system --fork
root      1209     1  0 09:39 ?        00:00:00 gdm-binary
avahi     1213     1  0 09:39 ?        00:00:00 avahi-daemon: running [lamar.local]
root      1215     1  0 09:39 ?        00:00:00 NetworkManager
avahi     1216  1213  0 09:39 ?        00:00:00 avahi-daemon: chroot helper
root      1218     1  0 09:39 ?        00:00:00 /usr/sbin/modem-manager
root      1221     1  0 09:39 ?        00:00:00 /usr/sbin/console-kit-daemon --no-daemon
root      1313  1209  0 09:39 ?        00:00:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnom
root      1338     1  0 09:39 tty4     00:00:00 /sbin/getty -8 38400 tty4
root      1342     1  0 09:39 tty5     00:00:00 /sbin/getty -8 38400 tty5
root      1350     1  0 09:39 tty2     00:00:00 /sbin/getty -8 38400 tty2
root      1351     1  0 09:39 tty3     00:00:00 /sbin/getty -8 38400 tty3
root      1355     1  0 09:39 tty6     00:00:00 /sbin/getty -8 38400 tty6
root      1361     1  0 09:39 ?        00:00:00 /usr/sbin/irqbalance
root      1362     1  0 09:39 ?        00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
root      1412     1  0 09:39 ?        00:00:00 cron
daemon    1413     1  0 09:39 ?        00:00:00 atd
root      1422  1313  3 09:39 tty7     00:04:25 /usr/bin/X :0 -nr -verbose -auth /var/run/gdm/auth-f
root      1517     2  0 09:39 ?        00:00:00 [bluetooth]
root      1518     2  0 09:39 ?        00:00:00 [rpciod/0]
root      1519     2  0 09:39 ?        00:00:00 [rpciod/1]
root      1520     2  0 09:39 ?        00:00:00 [rpciod/2]
root      1521     2  0 09:39 ?        00:00:00 [rpciod/3]
root      1530     1  0 09:39 ?        00:00:00 /usr/sbin/bluetoothd --udev
root      1540     1  0 09:39 ?        00:00:00 /sbin/wpa_supplicant -u -s
root      1565     2  0 09:39 ?        00:00:00 [lockd]
root      1575     2  0 09:39 ?        00:00:00 [nfsd4]
root      1576     2  0 09:39 ?        00:00:00 [nfsd]
root      1577     2  0 09:39 ?        00:00:00 [nfsd]
root      1578     2  0 09:39 ?        00:00:00 [nfsd]
root      1579     2  0 09:39 ?        00:00:00 [nfsd]
root      1580     2  0 09:39 ?        00:00:00 [nfsd]
root      1581     2  0 09:39 ?        00:00:00 [nfsd]
root      1582     2  0 09:39 ?        00:00:00 [nfsd]
root      1583     2  0 09:39 ?        00:00:00 [nfsd]
root      1587     1  0 09:39 ?        00:00:00 /usr/sbin/rpc.mountd --manage-gids --no-nfs-version
root      1645     1  0 09:39 ?        00:00:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root      1702     2  0 09:39 ?        00:00:00 [krfcommd]
root      1749     1  0 09:39 tty1     00:00:00 /sbin/getty -8 38400 tty1
root      1750  1215  0 09:39 ?        00:00:00 /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhc
gdm       1771     1  0 09:39 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session
root      1786  1313  0 09:39 ?        00:00:00 /usr/lib/gdm/gdm-session-worker
root      1795     1  0 09:39 ?        00:00:00 /usr/lib/upower/upowerd
rtkit     1802     1  0 09:39 ?        00:00:00 /usr/lib/rtkit/rtkit-daemon
root      1806     1  0 09:39 ?        00:00:00 /usr/lib/policykit-1/polkitd
ntp       1953     1  0 09:39 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 119:125
root      1957     1  0 09:39 ?        00:00:00 /usr/sbin/automount
my_user   1967     1  0 09:39 ?        00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login
my_user   1985  1786  0 09:39 ?        00:00:00 gnome-session
my_user   2019  1985  0 09:39 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-
my_user   2022     1  0 09:39 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session gnome-sessi
my_user   2023     1  0 09:39 ?        00:00:01 /bin/dbus-daemon --fork --print-pid 5 --print-addres
my_user   2026     1  0 09:39 ?        00:00:01 /usr/lib/libgconf2-4/gconfd-2
my_user   2033     1  0 09:39 ?        00:00:01 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
my_user   2035     1  0 09:39 ?        00:00:00 /usr/lib/gvfs/gvfsd
my_user   2040     1  0 09:39 ?        00:00:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/my_user/.gvfs
my_user   2046  1985  0 09:39 ?        00:00:00 /usr/bin/python /usr/bin/blueman-applet
my_user   2047  1985  0 09:39 ?        00:00:01 gnome-power-manager
my_user   2048  1985  0 09:39 ?        00:00:00 nm-applet --sm-disable
my_user   2050     1  0 09:39 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
my_user   2051  1985  0 09:39 ?        00:00:00 bluetooth-applet
my_user   2052  1985  0 09:39 ?        00:00:25 /usr/bin/compiz
my_user   2054  1985  0 09:39 ?        00:00:04 nautilus
my_user   2056  1985  0 09:39 ?        00:00:02 gnome-panel
my_user   2060  1985  0 09:39 ?        00:00:00 /usr/lib/policykit-1-gnome/polkit-gnome-authenticati
my_user   2078     1  0 09:39 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.6 /org/gtk/gv
my_user   2083     1  0 09:39 ?        00:00:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
root      2085     1  0 09:39 ?        00:00:00 /usr/lib/udisks/udisks-daemon
root      2086  2085  0 09:39 ?        00:00:00 udisks-daemon: polling /dev/sr0
my_user   2089     1  0 09:39 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
my_user   2091     1  0 09:39 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
my_user   2094     1  0 09:39 ?        00:00:00 /usr/lib/bonobo-activation/bonobo-activation-server
my_user   2096  2050  0 09:39 ?        00:00:00 /usr/lib/pulseaudio/pulse/gconf-helper
my_user   2110     1  0 09:39 ?        00:00:03 /usr/lib/gnome-applets/cpufreq-applet --oaf-activate
my_user   2115     1  0 09:39 ?        00:00:01 /usr/lib/indicator-applet/indicator-applet --oaf-act
my_user   2116     1  0 09:39 ?        00:00:00 /usr/lib/indicator-applet/indicator-applet-session -
my_user   2118     1  0 09:39 ?        00:00:00 /usr/lib/gnome-panel/clock-applet --oaf-activate-iid
my_user   2119     1  0 09:39 ?        00:00:06 /usr/lib/gnome-panel/wnck-applet --oaf-activate-iid=
my_user   2120     1  0 09:39 ?        00:00:00 /usr/lib/gnome-panel/notification-area-applet --oaf-
108       2125     1  0 09:39 ?        00:00:00 /usr/sbin/hald
root      2126  2125  0 09:39 ?        00:00:00 hald-runner
my_user   2137  2052  0 09:39 ?        00:00:00 /bin/sh -c /usr/bin/compiz-decorator
my_user   2138  2137  0 09:39 ?        00:00:01 /usr/bin/gtk-window-decorator
my_user   2141     1  0 09:39 ?        00:00:01 syndaemon -i 0.5 -k
my_user   2172     1  0 09:39 ?        00:00:00 /usr/lib/indicator-messages/indicator-messages-servi
my_user   2173     1  0 09:39 ?        00:00:00 /usr/lib/gvfs/gvfsd-metadata
root      2174  2126  0 09:39 ?        00:00:00 hald-addon-input: Listening on /dev/input/event4 /de
root      2176  2126  0 09:39 ?        00:00:00 /usr/lib/hal/hald-addon-rfkill-killswitch
root      2177  2126  0 09:39 ?        00:00:00 /usr/lib/hal/hald-addon-leds
root      2184  2126  0 09:39 ?        00:00:00 /usr/lib/hal/hald-addon-generic-backlight
root      2185  2126  0 09:39 ?        00:00:00 /usr/lib/hal/hald-addon-generic-backlight
root      2198  2126  0 09:39 ?        00:00:01 hald-addon-storage: polling /dev/sr0 (every 2 sec)
root      2199  2126  0 09:39 ?        00:00:00 /usr/lib/hal/hald-addon-cpufreq
108       2200  2126  0 09:39 ?        00:00:00 hald-addon-acpi: listening on acpid socket /var/run/
my_user   2202     1  0 09:39 ?        00:00:00 /usr/bin/obex-data-server --no-daemon 
my_user   2205     1  0 09:39 ?        00:00:00 /usr/lib/indicator-application/indicator-application
my_user   2207     1  0 09:39 ?        00:00:00 /usr/lib/indicator-sound/indicator-sound-service
my_user   2210     1  0 09:39 ?        00:00:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.6 /org/gtk/gvf
my_user   2213     1  0 09:39 ?        00:00:00 /usr/lib/indicator-me/indicator-me-service
my_user   2215     1  0 09:39 ?        00:00:00 /usr/lib/indicator-session/indicator-session-service
my_user   2225     1  0 09:39 ?        00:00:00 gnome-screensaver
my_user   2231  1985  0 09:40 ?        00:00:00 /usr/lib/gnome-disk-utility/gdu-notification-daemon
my_user   2242  1985  0 09:40 ?        00:00:00 /usr/lib/evolution/2.28/evolution-alarm-notify
my_user   2243  1985  0 09:40 ?        00:00:00 python /usr/share/system-config-printer/applet.py
my_user   2249     1  0 09:40 ?        00:00:00 /usr/lib/evolution/evolution-data-server-2.28 --oaf-
my_user   2298     1  0 09:40 ?        00:00:00 /bin/sh /usr/lib/firefox-3.6.10/firefox
my_user   2303  2298  0 09:40 ?        00:00:00 /bin/sh /usr/lib/firefox-3.6.10/run-mozilla.sh /usr/
my_user   2307  2303  3 09:40 ?        00:03:50 /usr/lib/firefox-3.6.10/firefox-bin
my_user   2356  1985  0 09:40 ?        00:00:00 update-notifier
root      2366     1  0 09:40 ?        00:00:00 /usr/bin/python /usr/lib/system-service/system-servi
my_user   2815     1  0 09:51 ?        00:00:01 /usr/lib/notify-osd/notify-osd
my_user   2945     1  0 09:55 ?        00:00:00 /usr/lib/gvfs/gvfsd-http --spawner :1.6 /org/gtk/gvf
my_user   3409     1  0 10:09 ?        00:00:07 /usr/bin/gnome-terminal --geometry 100x30
my_user   3410  3409  0 10:09 ?        00:00:00 gnome-pty-helper
my_user   3896     1  0 10:23 ?        00:00:00 /usr/lib/gvfs/gvfsd-sftp --spawner :1.6 /org/gtk/gvf
my_user   3900     1  0 10:23 pts/3    00:00:00 /usr/bin/ssh -oForwardX11 no -oForwardAgent no -oCle
my_user   4241  2307  0 10:29 ?        00:00:07 /usr/lib/nspluginwrapper/i386/linux/npviewer.bin --p
root      5309   620  0 11:06 ?        00:00:00 udevd --daemon
root      5313   620  0 11:06 ?        00:00:00 udevd --daemon
my_user   5547  3409  0 11:14 pts/5    00:00:00 bash
my_user   6120  3409  0 11:31 pts/6    00:00:00 bash
my_user   6185  3409  6 11:32 pts/0    00:00:00 bash
my_user   6198  6185  0 11:33 pts/0    00:00:00 ps -ef

(Looking at my desktop icons, I see that I've probably got the bluetooth
daemon running - I think that this is a red herring as I'm sure I've
only recently enabled bluetooth ... I'm sure that the problem existed
before I loaded the bluetooth stuff).

Obviously the Firefox processes are not present at suspend time either
...

I read that in earlier releases, bios settings for 'wake on lan' would
consume power when sleeping, so I've made sure that this is DISABLED in
my bios.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-generic 2.6.32.25.27
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  lidgaca    2050 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd4620000 irq 22'
   Mixer name	: 'Intel G45 DEVIBX'
   Components	: 'HDA:10ec0268,11790618,00100003 HDA:80862804,11790001,00100000'
   Controls      : 16
   Simple ctrls  : 8
Date: Fri Oct 22 11:23:43 2010
HibernationDevice: RESUME=UUID=f1de64d8-81dd-4013-bd82-95a28921cab5
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
MachineType: TOSHIBA TECRA M11
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-25-generic root=/dev/mapper/sys-root ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
SourcePackage: linux
dmi.bios.date: 06/18/2010
dmi.bios.vendor: TOSHIBA
dmi.bios.version: Version 2.50
dmi.board.asset.tag: 0000000000
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Version A0
dmi.chassis.asset.tag: 0000000000
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: Version 1.0
dmi.modalias: dmi:bvnTOSHIBA:bvrVersion2.50:bd06/18/2010:svnTOSHIBA:pnTECRAM11:pvrPTME1E-02001V0N:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0:
dmi.product.name: TECRA M11
dmi.product.version: PTME1E-02001V0N
dmi.sys.vendor: TOSHIBA

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid needs-upstream-testing resume suspend

-- 
On overnight suspend battery will loose 40% charge
https://bugs.launchpad.net/bugs/665054
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list