It looks like this value is used in the code and not configurable.  I
downloaded the source and found were 'battery.charge_level.design' was
used in src/gpm-cell.c.  Instead of changing that, however, I just
commented out its usage in gpm_cell_get_id() to not use that value in
constructing the ID.  See the attached patch for information.

I think this might have been how it used to be, because I had older
~/.gnome2/gnome-power-manager/profile-Primary-{dis,}charging.csv files
that didn't have the "design" ID.

Obviously, this patch is just a quick hack.  I don't know enough about
g-p-m to know what is the correct solution.  Whether that is just
removing the charge_level code I commented out, or making it an option,
or something entirely different.

Does anyone know if there is an upstream gnome bug for this issue?


** Attachment added: "Hack fix to remove charge_level.design from id"
   http://launchpadlibrarian.net/20600417/gpm-cell.patch

-- 
g-p-m doesn't save charge and discharge profiles
https://bugs.launchpad.net/bugs/302570
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to