upower was not installed on my system (kubuntu), but it does not report
that the system is on battery.

The output of "sh -ex /usr/bin/on_ac_power" is:

+ set -e
+ OFF_LINE_P=no
+ [ -d /sys/class/power_supply/ ]
+ test -d /sys/class/power_supply/AC
+ test -r /sys/class/power_supply/AC/type
+ cat /sys/class/power_supply/AC/type
+ type=Mains
+ test xMains = xMains
+ [ -r /sys/class/power_supply/AC/online ]
+ cat /sys/class/power_supply/AC/online
+ online=1
+ [ 1 = 1 ]
+ exit 0

Nevertheless, the harddrive spins down as soon as the system is idle for
one second or so. And I've noticed this behavior on my desktop computer
now too (both running maverick with kubuntu, latest updates as of now
installed).

The logfile now says

Running hook /usr/lib/pm-utils/power.d/harddrive false:
Disabling hard drive power management for /dev/sda...Done.

/usr/lib/pm-utils/power.d/harddrive false: success.

when I connect the AC power, but still the HD spins down too often, even
after a reboot while having the computer on main power.

-- 
[maverick] HD spins down all the time on AC
https://bugs.launchpad.net/bugs/606706
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