Bug 354583

Summary: Battery Icon: Very hard to see the actual battery level
Product: [Plasma] plasmashell Reporter: Till Schäfer <till2.schaefer>
Component: Power and Battery widgetAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal CC: kde, plasma-bugs, thomas.pfeiffer, uri_herrera
Priority: NOR Flags: kde: VisualDesign+
Version First Reported In: 5.4.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Battery in Plasma master

Description Till Schäfer 2015-10-29 22:15:40 UTC
The current plasmashells battery icon (which indicated the current charge status) looks nice but gives very little informations about the battery level. The charge level is only indicated by 3 small dots on the right, which are: 

- only 3 dots and therefore not very precice
- hard to see on small monitors 


Suggested solution: 
- give the option to make the interior of the battery symbol to the fill level, such that it can be so precise as you have pixels. It should also be much better to see as it covers a larger area.

Reproducible: Always
Comment 1 Kai Uwe Broulik 2015-11-02 13:22:32 UTC
One thing I could imagine, with the new 5.5 battery icon (that is pretty tiny) that we add a "hint-percent-label" element to the SVG and if that exists take the elementRect and show the battery in percent in that rectangle. Andrew/Uri, what do you think? Move the icon off-center vertically and show the number (tiny, though) above it. That way the theme can control where (or if) to show the percentage, rather than just overlaying it looking strange like we did in 4.10 and earlier.
Comment 2 David Edmundson 2015-11-02 13:27:40 UTC
Personally, I think we should leave things as they are. 

It's fine for basic information; lots, not much, empty. Which is what a status icon is for.

If you need an exact number you can mouse over for a tooltip (or set a shortcut on the applet)
Comment 3 Till Schäfer 2015-11-02 15:19:03 UTC
Well, the problem here is, that the indicators are very small and hard to read, e.g. if you have a low height control bar. It is hardly noticeable on my 13" Laptop. Therefore, i cannot just catch the battery status by a quick look to the icon, but must concentrate to do so. This was a difference i notices after migrating from KDE4, which has a much cleaner icon (although it is not that eye catchy from a design point of view). At KDE4 i have never really consciously read the icon, but i was always aware of the status, just because it was something that was easy to get. Now at Plasma 5 i started to worry about my battery status and found myself clicking on the icon very often. 
For this reason i also dislike the "percentage number" option, because this also causes me to actively focus on the battery status and read the number, not just noticing the status without distracting me from my work.

I can live with low the precision, although i do not know the reason why a pixel accurate filling or bar is a problem here. Furthermore, 3 dots are really few and do not letting me distinguish between 2 hour differences on a 8 h total battery runtime, which makes quite a difference in some settings.

To conclude: I would really like to have a larger representation of the status, e.g. by filling the batteries interior (it can be an option if it does not look so nice from a visual perspective). 

(btw: thx for the plasma 5 visual work, it really looks nice and clean for the most other icons, etc)
Comment 4 Thomas Pfeiffer 2015-11-02 22:01:02 UTC
The battery icon up to Plasma 5.4 indeed made it quite difficult to read the battery level from the tiny dots. The icon in 5.5 does use the fill as the battery level indicator, as suggested in this bug report. Therefore we can consider the problem fixed.
Comment 5 Kai Uwe Broulik 2015-11-02 22:22:00 UTC
> Therefore we can consider the problem fixed.

Except that, as I showed you, the new icon is super tiny.
Comment 6 Thomas Pfeiffer 2015-11-02 22:36:38 UTC
(In reply to Kai Uwe Broulik from comment #5)
> > Therefore we can consider the problem fixed.
> 
> Except that, as I showed you, the new icon is super tiny.

What you showed me looked a bit out of proportion, but big enough to read the battery level from it much more easily than from the tiny dots in the current icon.
Comment 7 Uri Herrera 2015-11-03 00:21:06 UTC
Created attachment 95281 [details]
Battery in Plasma master

I changed the battery tray icon to have fills when I updated the assets. That's how it looks right now.
Comment 8 Kai Uwe Broulik 2015-11-03 11:22:32 UTC
Note, the 22x22 icons you added (and showed in the screenshot) aren't actually used.
Also, the icon turns red at 35% already