A few days ago I added powertop-style wakeup data to DeviceKit-power. Details (with screenshot) here: http://blogs.gnome.org/hughsie/2009/01/30/gnome-power-manager-and-processor-wakeups/
I want to make it as easy as possible for developers to get access to this data, and to see the link between wakeups and power consumption. It's also allows front end tools that can be run without being the root user. There are a few topics I wanted to discuss with you guys: * Can we factor out some of the data collection stuff into a shared library? Does this make sense (erring on no...)? * Running DeviceKit-power and powertop at the same time is probably a bad idea. DeviceKit-power only enables the stats interface (/proc/timer_stats) if there is a GUI client wanting the data. We need to work out a way for powertop to signal to DK-p to stop polling and vice-versa. I've not copied any code from powertop, but obviously DK-p is now doing the same sort of thing with wakeups data. I'm not intending to replace powertop, as the interface I've done will only export the trivial data, and doesn't allow the user to tweak the hardware. Comments appreciated, Richard. _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
