After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326741 - Info dialog with detailed info about battery
Info dialog with detailed info about battery
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
SVN TRUNK
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
: 331606 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-12 16:27 UTC by Jaap A. Haitsma
Modified: 2006-10-12 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example i'm working on (44.51 KB, image/png)
2006-03-09 22:56 UTC, Richard Hughes
Details
new screenshot, with new stuff (56.45 KB, image/png)
2006-03-10 12:42 UTC, Richard Hughes
Details
what i've done (16.54 KB, image/png)
2006-10-12 14:38 UTC, Richard Hughes
Details

Description Jaap A. Haitsma 2006-01-12 16:27:56 UTC
We could add an info window to the menu of the tray icon
It could list of every battery more detailed info which is present in HAL such as manufacturer design capacity etc. etc.
Comment 1 Richard Hughes 2006-01-12 16:31:12 UTC
A lot of people didn't like this, last time I started talking about it.

What UI were you thinking of?

Richard.
Comment 2 Jaap A. Haitsma 2006-01-12 17:02:22 UTC
I'd have to think about how to do the layout
Comment 3 Richard Hughes 2006-02-18 10:10:10 UTC
*** Bug 331606 has been marked as a duplicate of this bug. ***
Comment 4 Justin Georgeson 2006-02-18 18:38:06 UTC
I think if the main UI doesn't change and there is a new window added, it would be hard to argue against it.
Comment 5 Seth Nickell 2006-02-21 21:55:02 UTC
The first items in the gpm pop-down menu should be clickable items that are something like:

[GPM Icon]
  Battery 1  [=======    ] 60%   
  Battery 2  [===========] 100%
 ------------------------------------
  Preferences
 ------------------------------------
  Help
  About

Clicking on an item should bring up more detailed information about that battery. Like so perhaps:

Battery 1
   [=======================              ]  60%
   Charging | Discharging | Fully Charged
   1 hr 13 min until charged|empty

   Condition:
     This battery holds 30% of the capacity it did when it was new

   Details V (expander)
     Current capacity: 9000 mWh

     Type: LiION
     Model: IBM-08K8193
     Serial Number: 23206

     Max capacity when new: 47520 mWh
     Current max capacity: 14950 mWh

     Current rate of use|charging: 7180 mW

Comment 6 Jaap A. Haitsma 2006-02-21 22:25:37 UTC
I like this idea :-)
Comment 7 Justin Georgeson 2006-02-21 22:43:03 UTC
Looks good to me.
Comment 8 Richard Hughes 2006-02-21 23:32:58 UTC
Not sure that a "bar" belongs in the actions menu. Doesn't seem right.

What about just a "info" item that shows you the state of all the batteries on the system?
Comment 9 Justin Georgeson 2006-02-21 23:41:40 UTC
either way would be fine with me. Having status for each individual battery in either the popup or top-level menu would be prefereable though as it would require one less step.
Comment 10 Seth Nickell 2006-02-22 00:23:43 UTC
Wouldn't worry about using a bar, we also use them in network manager, for example. I recall there being some minor caveats about exactly how you add them to the menu, but its working great now.
Comment 11 Richard Hughes 2006-03-09 22:56:42 UTC
Created attachment 61009 [details]
example i'm working on

What about this as a start?
Comment 12 Justin Georgeson 2006-03-10 04:49:55 UTC
Looks like a good start.
Comment 13 Richard Hughes 2006-03-10 12:42:26 UTC
Created attachment 61034 [details]
new screenshot, with new stuff

2006-03-10  Richard Hughes  <richard@hughsie.com>
 * src/gpm-info.c, src/gpm-power.{c|h}: Add capacity, vendor, model, serial number, technology and product into the device information fields. We get this from HAL when the device is added or coldplugged.
Comment 14 Seth Nickell 2006-03-10 16:21:42 UTC
Well, dunno what you mean as a start, but I would rather recommend just doing the items I suggested (in the layout suggested *grin*)... more information is not necessarily a good idea. 

The goal is *not* to list a bunch of kewl technical facts just because we can get them, but to highlight the two aspects of battery people might really care about:

1) To see a larger view of battery charge state with slightly more information
2) To find out if their battery is in poor condition

The other details we can provide in an expander on the page, though even there I'd suggest just doing the label: value layout instead of using a tree/list.
Comment 15 Richard Hughes 2006-03-24 11:17:42 UTC
>The goal is *not* to list a bunch of kewl technical facts just because we can
>get them

Well, thats what people are asking for...

>The other details we can provide in an expander on the page

Yes, we can hide some details, but I need to think on the UI some more. I'm not keen on having a bar in the menu like n-m.
Comment 16 Justin Georgeson 2006-03-24 15:38:37 UTC
>Yes, we can hide some details, but I need to think on the UI some more. I'm not
>keen on having a bar in the menu like n-m.

I think both would be great. 
Comment 17 Richard Hughes 2006-04-18 09:27:18 UTC
Anyone want to dig-around NetworkManager and work out how to do that bar?
Comment 18 Richard Hughes 2006-04-20 08:51:34 UTC
How does that look? : http://www.hughsie.com/applications/Coppermine/displayimage.php?album=9&pos=2

I vote don't do the [xxxxx    ] bar idea, as now the info page looks pretty.
Comment 19 Justin Georgeson 2006-04-20 12:58:05 UTC
screenshot looks nice. I'm going to have to agree with Seth that the status bar would be nice. Maybe make it an optional setting.
Comment 20 André Klapper 2006-10-01 03:24:46 UTC
any progress on this, guys?
Comment 21 Richard Hughes 2006-10-01 07:35:37 UTC
Yes, have a look at the current CVS. There is a drop down, but no bar for each one. We do display the indervidual icons tho, but maybe the bar might be cool.
Comment 22 Richard Hughes 2006-10-10 20:01:40 UTC
Closing for now. I think what we have in CVS is a nice compromise.
Comment 23 Justin Georgeson 2006-10-12 14:13:15 UTC
any screenshots of the current CVS, or is the one from 3/10 still current? (The 4/20 hughsie.com link doesn't work)
Comment 24 Richard Hughes 2006-10-12 14:38:50 UTC
Created attachment 74567 [details]
what i've done

What is in CVS. Tell me what you think.
Comment 25 Justin Georgeson 2006-10-12 16:10:44 UTC
Looks good. I'm assuming Battery Bay is a single battery. For example if I swap out the optical drive on my laptop with a 2nd battery then both the primary and secondary batter would be listed individually.
Comment 26 Richard Hughes 2006-10-12 16:16:32 UTC
Yes, that's the case.