When resposibility is reestablished for /etc/laptop-mode/laptop-mode.conf the ENABLE_LAPTOP_MODE_ON_BATTERY=yes default from debian's laptop-mode package will and can enable laptop_mode when on batteries, no problem.
Package pm-utils has had a hacked laptop-tools script in hardy all the time that did just that. See https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/239419/comments/5
When resposibility is reestablished for /etc/laptop- mode/laptop- mode.conf the ENABLE_ LAPTOP_ MODE_ON_ BATTERY= yes default from debian's laptop-mode package will and can enable laptop_mode when on batteries, no problem.
Package pm-utils has had a hacked laptop-tools script in hardy all the time that did just that. /bugs.launchpad .net/ubuntu/ +source/ pm-utils/ +bug/239419/ comments/ 5
See https:/