Is there a tweak to show a percentage in the battery icon? [duplicate]

It's great that the indicator applet tells me I have 2 hours and 12 minutes of battery left, or that it will be charged in 1 hour 8 minutes, but I might well change my pattern of usage during that time and am frankly not confused by percentages.

How do I make the applet show a percentage charged or discharged instead?


Matthew Paul Thomas, an interface designer for Canonical's Ubuntu team, in his blog comments this April wrote "I think the only point in showing a percentage charge is so that a human can get an idea of how much time is left. But we have computers to do those sort of calculations now. If a battery’s estimated time remaining is wrong, its percentage will be even less informative."

There is also a comment on the Ubuntu wiki that says "This coloring is deliberately time-based, not percentage-based; how much time you have left is more important than how long the battery can theoretically last."

Mockup of new battery indicator menus


You can install the Battery-Stats applet, which will replace the Power-Managers's applet with more information and some power-management options as a bonus.

sudo apt-get install battery-stats
battery-stats-collector

Then see /var/log/battery-stats for sample information.


I don't think the indicator shows that information yet.

You can click on the menu entry which says "X hours YY minutes left to (dis)charge" and it will open the battery profile dialog. That one has percentages under "Laptop Battery -> Details (scroll to bottom)"


The percentage was intentionally removed by the power house that is the Canonical design team. See the comments by MPT here: http://design.canonical.com/2010/04/battery/


I had this problem, as far as i search there is not any way to solve this problem in unity panel but i solved it buy installing cairo-dock. It has some theme that can show percentages over its image.

You can install cairo-dock from repository

sudo apt-get install cairo-dock

then after running it:

  1. in cairo-dock configuration go to add-ons tab.
  2. tick "Power Manager" applet and click apply button.
  3. in the dock right click on "Power Manager" applet and from "power manager" menu click on edit button.
  4. in shown dialogue goto "Configuration" tab.
  5. from first combo bos ("choose the style of disply") select "Gauge".
  6. open Gauge section and from "choose one of the available theme" select a theme that show percentages in its image (theme like, "Battery-Mono" , "Battery:MeeGo theme" , "Battery:Oxygen theme" ,...)