add time remaining on battery to sysmonitor

Bug #260945 reported by termite
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Universal Applets
Fix Committed
Undecided
Przemysław Firszt

Bug Description

Currently, Sysmonitor doesn't display time remaining on battery. The patches to sensors.py and SysmonitorScreelet.py attached remedy this by reading a little extra data about the battery and displaying the time remaining if the user is currently on battery power.

Revision history for this message
termite (rb6) wrote :
Revision history for this message
termite (rb6) wrote :
Revision history for this message
termite (rb6) wrote :

Please ignore last SysmonitorScreenlet.py patch. New one attached that actually works...

Revision history for this message
Natan Yellin (aantny) wrote :

@Pefi:
What's the status on this? Are you still reviewing the patch?

Revision history for this message
Natan Yellin (aantny) wrote :

*Bump*

Revision history for this message
Przemysław Firszt (pefi) wrote :

Hmm, looks like I missed this one. I'm very sorry.

Revision history for this message
Przemysław Firszt (pefi) wrote :

I cannot force it to work. Termite: it works for you? I've applied the second patch, fixed an indent error, just to get another one 'tuple index out of range'. :-(

Changed in universal-applets:
status: New → Incomplete
Revision history for this message
termite (rb6) wrote :

Attaching two patches, one to SysmonitorScreenlet.py and one to sensors.py. These currently apply cleanly against screenlets, not tested against Universal Applets.

Revision history for this message
termite (rb6) wrote :
Revision history for this message
Przemysław Firszt (pefi) wrote :

patches commited but needs to be tested .

Changed in universal-applets:
assignee: nobody → pefi
status: Incomplete → Fix Committed
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.