Thanks David for the link.  Building debian package was easier than I thought. 
0.9.8 didn't work for me (hp2133).  My earlier idea helped a little, but didn't 
fully solve the issue.  But I did some more research and I suppose I found the 
core problem.  This is basically a timing issue.  If you take a look at 9.04, 
you can see a delay in gnome-power-manager.  And in 9.04 it works.
I could solve this issue by tweaking the timing, but I prefer a sanity check 
solution because there should not be any change in behavior of those machines 
not currently affected by this issue and the response is instant. 
Downsize of this patch is that in machines without capability of instant acpi 
updates you cannot see the estimate of remaining battery time instantly, but 
only after about 30 seconds.  I have built and tested this patch in lucid 
version 0.9.1 and natty version 0.9.8 and I am using this daily in lucid and 
happy with ubuntu again.  I would like to share this if someone is interested, 
if someone could advise me how to do it:
- debuild created some sort of patch file like upower_0.9.1-1.1.diff.gz or. Is 
this the one to download here or should I create diff using only the modified c 
file?
- debuild also created a lot of .debs that might be useful if someone else is 
interested in testing this patch? Is there some place I could upload these? 
Which of those .debs are needed for installation (I just used sudo debi to 
install)?
- is natty version of upower build in lucid usable in natty?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

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

Reply via email to