#641845 upowerd: upowerd wastes power by writing to disk too often

Package:
upower
Source:
upower
Description:
abstraction for power management
Submitter:
Shannon Dealy
Date:
2011-09-16 18:48:25 UTC
Severity:
normal
#641845#5
Date:
2011-09-16 18:24:04 UTC
From:
To:
I was surprized to find that the reason my laptop disk keeps spinning up
is the "upowerd" power management daemon.  It is writing to its history files
at least a couple times a minute.  It seems to me that any program involved
in power management should be more careful in its use of power.  Ideally,
it would only push its data to disk when the disk is already spun up, possibly
with a maximum time limit of 20 minutes or when some maximum amount of buffered
data is reached, whichever comes first.  Alternatively, it should allow for
at least several minutes of data to buffer before flushing to disk.  Even
better would be if whichever of the above is implemented were configurable
(buffer size and time limit) in a run-time configuration file or as a command
line option.