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.
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 power_supply/ ] power_supply/ AC power_supply/ AC/type power_supply/ AC/type power_supply/ AC/online ] power_supply/ AC/online
+ OFF_LINE_P=no
+ [ -d /sys/class/
+ test -d /sys/class/
+ test -r /sys/class/
+ cat /sys/class/
+ type=Mains
+ test xMains = xMains
+ [ -r /sys/class/
+ cat /sys/class/
+ 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.