Show apps consuming significant energy

Bug #1458356 reported by Danielle Foré
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Wingpanel Power Indicator
Fix Released
Wishlist
Marcus Wichelmann

Bug Description

We should come up with some nice way to show which apps may be consuming a significant amount of energy.

Related branches

Revision history for this message
Marcus Wichelmann (l-admin-3) wrote :

For that we need to listen to the list of running apps per time, because I don't think that there is already a service that does the job. We should also think about the privacy aspect because such a feature would log the time of use for any application. Maybe it should be possilbe to disable that feature in the security-privacy-plug.

Changed in wingpanel-indicator-power:
status: New → Confirmed
Revision history for this message
Danielle Foré (danrabbit) wrote :

Hm, I'm not sure we need to be listening to the length of use for an app, only how much it is using right now. I think what we want is to be listening for which apps are performing the most processor and io wake ups right?

Revision history for this message
Marcus Wichelmann (l-admin-3) wrote :

Yes, I think so. So we need to write a basic process manager that gets every 10 seconds the current used ressources for any process (with a desktop-file..?) and adds these values to a database. Should that service save these information only until the session ends or do we want to save that database somewhere..?

Revision history for this message
Danielle Foré (danrabbit) wrote :

I don't think we need a database either or to be constantly checking. We only need to see what is using power when someone opens the indicator. It looks like GNOME power statistics just checks upower over dbus. Then we'd only need to match processes to .desktops (I imagine using Bamf?)

Revision history for this message
Marcus Wichelmann (l-admin-3) wrote :

So you do not want to display which apps have used how much energy since the last battery load but you want to show which apps are using the most energy in the moment? That's a bit easier. Then we do only need a way to get a list of the current running processes and their used ressources.

Revision history for this message
Danielle Foré (danrabbit) wrote :

Yes exactly. The idea is to be able to take action on apps that are consuming lots of power right now.

Revision history for this message
Marcus Wichelmann (l-admin-3) wrote :

Ah, okay. I thought you mean something like that feature in the newest ios.

Any ideas how to get a list of the current running applications?

Revision history for this message
Djax (parnold-x) wrote :

I hacked a little bit on a system monitor some time ago. Take a look at the branch or ping me...

https://dl.dropboxusercontent.com/u/28321853/system-monitor.webm
https://code.launchpad.net/~parnold-x/+junk/system-monitor

Revision history for this message
Marcus Wichelmann (l-admin-3) wrote :

Yeah, nice, that will be a great help, because I had no idea how to get the process list. And if the user enables the power-saving-mode we kill all the apps consuming the most energy... :P

Changed in wingpanel-indicator-power:
status: Confirmed → In Progress
assignee: elementary UX (elementary-design) → Marcus Wichelmann (l-admin-3)
Revision history for this message
Marvin Beckers (embik) wrote :

Honestly, I'm no big fan of showing these in the indicator. With a lot of different apps running, this seems to be kind of a overkill, doesn't it? IMHO such information would belong into the power plug.

Revision history for this message
Marcus Wichelmann (l-admin-3) wrote :

Maybe I should also say, that it shows max. the top five.
I don't think it makes any sense to move that into the plug, because this feature shows you how to spend some energy and this should be easily abailable (at least in battery mode). A possible history fearure for the plug is a completely different feature with anpther functionality.

Changed in wingpanel-indicator-power:
status: In Progress → Fix Committed
milestone: none → loki-beta1
Changed in wingpanel-indicator-power:
milestone: loki-beta1 → loki-alpha1
Cody Garver (codygarver)
Changed in wingpanel-indicator-power:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.