Comment 4 for bug 754283

Revision history for this message
Tianon Gravi (tianon) wrote :

After using my patch successfully for the past 7 months, I noticed that I was inadvertently cutting off all decimals, and then displaying one (so it was always .0). Attached is a fix of my patch. The differentiating line is on line 2624, was rounding and then making it an integer, which is useless, so I just round and forget about the int(). You probably want to apply the same fix to self.battery_percent on the line above it (where I originally copied mine from :P).