[PATCH] Patch to solve issues with some hardware that causes battery to never update

2011-07-10 Thread Mikael Hjelm
I have tested this on a Aspire one which is heavily affected by hardware issues.For further info on the issues it solves please see https://bugs.launchpad.net/ubuntu/+source/upower/+bug/467825 Best Regards/Mikael Hjelm /upower$ git diff diff --git a/src/linux/up-device-supply.c b/src/linux/up-d

RE: [PATCH] Patch to solve issues with some hardware that causes battery to never update

2011-07-10 Thread Mikael Hjelm
Ok something cut the end comment, reformatted. diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.cindex 600fc27..1967a90 100644--- a/src/linux/up-device-supply.c+++ b/src/linux/up-device-supply.c@@ -544,8 +544,13 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply)

Re: [PATCH] Patch to solve issues with some hardware that causes battery to never update

2011-07-10 Thread Martin Pitt
Hello Mikael, Mikael Hjelm [2011-07-10 22:24 +0200]: > /upower$ git diff diff [...] Can you please attach the patch? In both cases the copy&paste result got demolished by your MUA. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian De

RE: [PATCH] Patch to solve issues with some hardware that causes battery to never update

2011-07-10 Thread Mikael Hjelm
Hi Martin, Amazing, five emails to this mailing list and i have failed the formatting on all of them one way or another. Attached the patch. > Date: Mon, 11 Jul 2011 06:45:24 +0200 > From: martin.p...@ubuntu.com > To: j_m_hj...@hotmail.com > Subject: Re: [PATCH] Patch to solve issues with