Package: laptop-mode-tools Version: 1.66-2 Severity: important Dear Maintainer,
Laptop-mode intermittently fails to execute its modules on boot. This means the power savings are sometimes (roughly 60-70% of the time) not applied when booting on battery power. Triggering a reload using "# /etc/init.d/laptop-mode reload" or plugging in/unplugging the AC power after the system has finished booting always correctly applies the power saving measures. I assume this is due to a race condition during boot. I added some dependencies to the LSB header in "/etc/init.d/laptop-mode" to try to fix the problem, but it didn't help (I'm not really sure what dependencies are needed). I also tried a systemd unit file approach, but to no avail. In either case I don't know what other boot processes we'd need to wait for. I'm not totally sure it's a race condition at boot anymore, although it does seem likely. I've attached a file with the contents of "/var/log/syslog" grepped for "laptop" after I booted and laptop-mode failed to apply its power savings (with VERBOSE logging). I haven't included my config files because I don't think there's anything particularly funky in there. A few features are disabled because they don't apply to my hardware, but that's about it. Let me know if you need me to provide any more info/debugging output/config files. Many thanks, Tom -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages laptop-mode-tools depends on: ii lsb-base 4.1+Debian13+nmu1 ii psmisc 22.21-2 ii util-linux 2.25.2-6 Versions of packages laptop-mode-tools recommends: ii ethtool 1:3.16-1 ii hdparm 9.43-2 ii net-tools 1.60-26+b1 ii python-qt4 4.11.2+dfsg-1 ii sdparm 1.08-1 ii udev 215-14 ii wireless-tools 30~pre9-8 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.23-2 -- Configuration Files: /etc/init.d/laptop-mode changed [not included] /etc/laptop-mode/conf.d/ac97-powersave.conf changed [not included] /etc/laptop-mode/conf.d/eee-superhe.conf changed [not included] /etc/laptop-mode/conf.d/radeon-dpm.conf changed [not included] /etc/laptop-mode/conf.d/wireless-ipw-power.conf changed [not included] /etc/laptop-mode/laptop-mode.conf changed [not included]
Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 417 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 436 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 561 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 418 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 518 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 580 Apr 7 21:30:15 ecrins laptop-mode: Prelim lock acquisition on descriptor 8 with pid 412 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 603 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 411 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 563 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 583 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 575 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 434 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 610 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 415 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 416 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 562 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 428 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 414 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 426 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 410 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 418 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 518 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 580 Apr 7 21:30:15 ecrins laptop-mode: Prelim lock acquisition on descriptor 9 with pid 436 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 583 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 412 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 575 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 562 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 416 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 603 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 561 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 417 Apr 7 21:30:15 ecrins laptop-mode: Now invoking lmt_main_function with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 428 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 411 Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- auto Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 415 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 610 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 426 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 434 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 563 Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- auto Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- auto Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- auto Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- auto Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- auto Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 410 Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 414 Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- auto Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: On battery power: Activating, because ENABLE_LAPTOP_MODE_ON_BATTERY is set. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 1265 Apr 7 21:30:15 ecrins laptop-mode: Not on AC and we have battery information in /sys/class/power_supply/BAT* -- checking minimum battery charge. Apr 7 21:30:15 ecrins laptop-mode: /sys/class/power_supply/AC is of type Mains. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 1265 Apr 7 21:30:15 ecrins laptop-mode: Not of type "Battery", skipping. Apr 7 21:30:15 ecrins laptop-mode: Battery level polling is disabled. Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: /sys/class/power_supply/BAT0 is of type Battery. Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 1278 Apr 7 21:30:15 ecrins laptop-mode: Checking levels for /sys/class/power_supply/BAT0. Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 8 with pid 1266 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 1278 Apr 7 21:30:15 ecrins laptop-mode: Couldn't acquire prelim lock on descriptor 9 with pid 1266 Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Now invoking lock_retry with arguments -- force Apr 7 21:30:15 ecrins laptop-mode: Present: 1. Apr 7 21:30:15 ecrins laptop-mode: Remaining charge: 17490000 Apr 7 21:30:15 ecrins laptop-mode: Full capacity: 23200000 Apr 7 21:30:15 ecrins laptop-mode: /sys/class/power_supply/BAT1 is of type Battery. Apr 7 21:30:15 ecrins laptop-mode: Checking levels for /sys/class/power_supply/BAT1. Apr 7 21:30:15 ecrins laptop-mode: Present: 1. Apr 7 21:30:15 ecrins laptop-mode: Remaining charge: 3580000 Apr 7 21:30:15 ecrins laptop-mode: Full capacity: 71100000 Apr 7 21:30:15 ecrins laptop-mode: Laptop mode Apr 7 21:30:15 ecrins laptop-mode: Checking if desired state is different from current state. Apr 7 21:30:15 ecrins laptop-mode: /var/run/laptop-mode-tools/state does not exist, no previous state. Apr 7 21:30:15 ecrins laptop-mode: enabled, active Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/ac97-powersave is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/battery-level-polling is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/bluetooth is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/configuration-file-control is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/cpufreq is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/dpms-standby is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/eee-superhe is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/ethernet is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/exec-commands is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/hal-polling is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/hdparm is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/intel-hda-powersave is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/intel-sata-powermgmt is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/intel_pstate is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/laptop-mode is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/lcd-brightness is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/nmi-watchdog is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/pcie-aspm is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/radeon-dpm is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/runtime-pm. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/sched-mc-power-savings is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/sched-smt-power-savings is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/start-stop-programs is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/syslog-conf is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/terminal-blanking is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/video-out is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/wireless-ipw-power is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/wireless-iwl-power is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/wireless-power is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/local/lib/laptop-mode-tools/modules/* is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/local/share/laptop-mode-tools/modules/* is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /etc/laptop-mode/modules/* is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Not enabling auto suspend mode for device 3-1:1.0 Apr 7 21:30:15 ecrins laptop-mode: Not enabling auto power level for device 3-1:1.0 Apr 7 21:30:15 ecrins laptop-mode: Determining power state from /sys/class/power_supply/AC/online. Apr 7 21:30:15 ecrins laptop-mode: Not trying other options, already found a power supply. Apr 7 21:30:15 ecrins laptop-mode: On battery power: Activating, because ENABLE_LAPTOP_MODE_ON_BATTERY is set. Apr 7 21:30:15 ecrins laptop-mode: Not on AC and we have battery information in /sys/class/power_supply/BAT* -- checking minimum battery charge. Apr 7 21:30:15 ecrins laptop-mode: /sys/class/power_supply/AC is of type Mains. Apr 7 21:30:15 ecrins laptop-mode: Not of type "Battery", skipping. Apr 7 21:30:15 ecrins laptop-mode: /sys/class/power_supply/BAT0 is of type Battery. Apr 7 21:30:15 ecrins laptop-mode: Checking levels for /sys/class/power_supply/BAT0. Apr 7 21:30:15 ecrins laptop-mode: Present: 1. Apr 7 21:30:15 ecrins laptop-mode: Remaining charge: 17490000 Apr 7 21:30:15 ecrins laptop-mode: Full capacity: 23200000 Apr 7 21:30:15 ecrins laptop-mode: /sys/class/power_supply/BAT1 is of type Battery. Apr 7 21:30:15 ecrins laptop-mode: Checking levels for /sys/class/power_supply/BAT1. Apr 7 21:30:15 ecrins laptop-mode: Present: 1. Apr 7 21:30:15 ecrins laptop-mode: Remaining charge: 3580000 Apr 7 21:30:15 ecrins laptop-mode: Full capacity: 71100000 Apr 7 21:30:15 ecrins laptop-mode: Laptop mode Apr 7 21:30:15 ecrins laptop-mode: Checking if desired state is different from current state. Apr 7 21:30:15 ecrins laptop-mode: enabled, active Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/ac97-powersave is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/battery-level-polling is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/bluetooth is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/configuration-file-control is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/cpufreq is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/dpms-standby is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/eee-superhe is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/ethernet is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/exec-commands is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/hal-polling is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/hdparm is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/intel-hda-powersave is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/intel-sata-powermgmt is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/intel_pstate is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/laptop-mode is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/lcd-brightness is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/nmi-watchdog is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/pcie-aspm is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/radeon-dpm is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/runtime-pm. Apr 7 21:30:15 ecrins laptop-mode: Not enabling auto suspend mode for device usb2 Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/sched-mc-power-savings is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Not enabling auto power level for device usb2 Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/sched-smt-power-savings is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/start-stop-programs is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/syslog-conf is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/terminal-blanking is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/video-out is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/wireless-ipw-power is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/wireless-iwl-power is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/share/laptop-mode-tools/modules/wireless-power is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/local/lib/laptop-mode-tools/modules/* is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /usr/local/share/laptop-mode-tools/modules/* is not executable or is to be skipped. Apr 7 21:30:15 ecrins laptop-mode: Module /etc/laptop-mode/modules/* is not executable or is to be skipped.

