Public bug reported:

Binary package hint: laptop-mode-tools

When switching from battery to AC or when booting on AC, laptop-mode
thinks it's still running on battery and doesn't apply the correct
settings for AC.

valen...@valentin-laptop:~$ cat /var/lib/acpi-support/powerstate 
BATTERY
valen...@valentin-laptop:~$ cat /proc/sys/vm/laptop_mode 
2
valen...@valentin-laptop:~$ cat /var/lib/acpi-support/powerstate 
AC
valen...@valentin-laptop:~$ cat /proc/sys/vm/laptop_mode 
2

Restarting laptop-mode seems to fix things, so maybe it's the way
laptop-mode is run from the acpi-support scripts?

valen...@valentin-laptop:~$ sudo /etc/init.d/laptop-mode restart
 * Disabling laptop mode...                                              [ OK ] 
 * Enabling laptop mode...                                               [ OK ] 
valen...@valentin-laptop:~$ cat /proc/sys/vm/laptop_mode 
0

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: laptop-mode-tools 1.47-1ubuntu1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: laptop-mode-tools
Uname: Linux 2.6.28-13-generic i686

** Affects: laptop-mode-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
laptop-mode doesn't sense power state changes
https://bugs.launchpad.net/bugs/387057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to