g-p-m doesn't save charge and discharge profiles.

Asked by Juha-Matti Rensujeff on 2008-11-15

I updated my eeePC 901 from ubuntu 8.04 to 8.10 and after that Power Manager started to forget charge and discharge profiles after restart. If i discharge and then charge my battery i can see data in graphs of charge/discharge time profile, but after restart it's cleared. Is there some problem with my settings or something else?

I tried to remove Power manager and reinstall but it didn't help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-power-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
watergypsy (klinebottle) said :
#1

I can confirm this is a problem with 8.10 on the eee 901.

For some reason the gnome power manager (2.24.0) seems to be having a problem profiling the battery of my 901.
Each time I look at the discharge / charge time profile I get the default flat line graph as it has no data points or very few.
Looking into ~/.gnome2/gnome-power-manager/ shows a large number of files called profile-901-xxxxx-discharging.cvs where the xxxxx is a different number each time.

Seemed to work fine under 8.04 but after a fresh install of 8.10 the problem has started.

Revision history for this message
Jorge NerĂ­n (jnerin) said :
#2

I could answer just "Me too!", but I will provide more info. I also have an Asus Eee PC 901 that worked OK with ubuntu 8.04, but I upgraded to 8.10 (upgraded, not clean install) and now every time I poweroff or suspend the machine gnome power manager (2.24.0) lost the data points it has collected in this session, so I have the flat lines in the graphs. I also have all the profile-901-xxxxx-[dis]charging.csv in the ~/.gnome2/gnome-power-manager/ I also killed one day the g-p-m and deleted all these files, but it's still happening.

I'm not sure whats happening, if I start with a full battery and pull the power cord g-p-m begins graphing the discharge precision whrile its discharging, but if I suspend or reboot the machine the graph losts all of the points and becomes a flat line. It's the same with the charge precision graph, it's graphed while it's charging but it will lost all the values after a reboot or suspend/resume cycle.

I have taken a peek inside the profile-901-55048-charging.csv and profile-901-55048-discharging.csv that are the ones with the last modified time, the charging one seems ok but empty, now I'm running on battery so I have no history (flat line):
0, 0, 0
1, 0, 0
2, 0, 0
3, 0, 0
4, 0, 0
5, 0, 0
6, 0, 0
7, 0, 0
[...]
96, 0, 0
97, 0, 0
98, 0, 0
99, 0, 0

The discharging one is a bit weird:
0, 0, 0
0, 0, 0
0, 0, 0
0, 0, 0
0, 0, 0
0, 0, 0
0, 226, 0
0, 226, 0
0, 226, 0
0, 226, 0
0, 226, 0
0, 226, 0
[...]
0, 226, 0
0, 226, 0
0, 209, 17
0, 240, 17
0, 239, 17
0, 209, 17
0, 239, 17
0, 210, 16
0, 239, 17
0, 210, 17
0, 209, 16
0, 239, 17
0, 240, 18
0, 209, 16
[...]
0, 240, 14
0, 210, 11
0, 240, 15
0, 239, 16
0, 240, 18
0, 270, 18
0, 0, 0

both files have 100 lines, but something seems wrong, now that I have digged more I will file a bug. Done
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/302570

Can you help with this problem?

Provide an answer of your own, or ask Juha-Matti Rensujeff for more information if necessary.

To post a message you must log in.