g-p-m should use less frequent disk writes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power |
In Progress
|
Medium
|
|||
gnome-power-manager (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-power-manager
During investigations on what keeps waking up hard drive of my laptop, I have found (using "pidstat -d" + "strace") that gnome-power-manager writes what looks like actual state of battery to $HOME/.
That needs to be fixed. If system is on battery and is idle, then no intentional disk spinning should be happening.
Otherwise it is very silly: the modules which monitor battery charge cause the battery to discharge.
If information doesn't need to be persistent, then g-p-m should at least send the information to /tmp, which is often mounted using tmpfs.
That would eliminate at least one of the reasons why my hdd keeps spinning under Linux.
P.S. Ubuntu 8.04 with XFCE on PowerBook 12". Actually "pbbuttond" causes similar problem since on the platform it is the daemon which produces the battery status info into /var/lib/ibam/ directory.
Changed in gnome-power: | |
status: | Unknown → In Progress |
Changed in gnome-power: | |
importance: | Unknown → Medium |
Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please attach the resulting log file of: gnome-power- bugreport. sh &> gpm.log to the report? You might also want to take a look to the Debugging instructions located at https:/ /wiki.ubuntu. com/DebuggingGN OMEPowerManager for submit any other logs related to your problem.Thanks in advance.