Ok, I got the message.
Unless you fix it yourself, nobody will, although for developer its much easier to fix because he knows the code.
Maybe I should have reported that upstream.
Anyway, here the patch.
Please spare me from doing the administrative work such as correcting something in changelog, etc.
It tuns out that libupower-glib adds the battery to an array, but gpm adds it there too.
Ok, I got the message.
Unless you fix it yourself, nobody will, although for developer its much easier to fix because he knows the code.
Maybe I should have reported that upstream.
Anyway, here the patch.
Please spare me from doing the administrative work such as correcting something in changelog, etc.
It tuns out that libupower-glib adds the battery to an array, but gpm adds it there too.