16

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?

2
  • 1
    Which version are using? I'm using lucid, and it's the exact opposite for me. It only show the percentage, and not the time remaining, though I'd like to see both.
    – Malabarba
    Sep 2, 2010 at 11:56
  • 1
    I think this is poor design by the ubuntu people. There should be a choice that the user has, sadly they don't think this way.
    – nikhil
    Nov 9, 2012 at 15:57

8 Answers 8

11

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

1
8

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.

2

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)"

1

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/

1

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" ,...)
1

I just wrote a new applet for the sole task of showing the battery percentage in the panel. It comes as a python script. For more information and to download visit the github repo for the project.

1

Right click applet, choose Configure, select Show percentage.

1
  • Yes! This answer should have lots of votes! Aug 22, 2018 at 17:00
0

Add this as a "command" somewhere in your notification area:

upower -d | grep percentage: | awk '{print $2} ' | head -1
1
  • Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) May 6, 2016 at 13:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .