This issue is caused by patch 19_fix_notification_messages.patch
According to gnome svn, the patch should be made in 
gpm_cell_array_get_time_until_action. However, "debian/rules patch" applies it 
in gpm_cell_array_update. Apparently, because upstream already made the change 
in gpm_cell_array_get_time_until_action, patch gets confused and applies the 
patch 90 lines later in gpm-cell-array.c:

gnome-power-manager-2.24.0$ patch -p1 < ../19_fix_notification_messages.patch 
patching file src/gpm-cell-array.c
Hunk #1 succeeded at 270 with fuzz 2 (offset 90 lines). 

I have rebuilt gpm 2.24.0 without this patch, and can confirm this fixes both 
issues:
- charge percentages shown in mouse-over and left-click are now equal
- battery voltage in power history is now constant, as expected (bug 275845)

-- 
g-p-m is reporting 2 separate voltage/power levels
https://bugs.launchpad.net/bugs/274681
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to