Comment 46 for bug 467825

Revision history for this message
Mikael Hjelm (j-m-hjelm) wrote :

Ok so no i have figured out how to build upower properly, now it shuts down properly and warns when it should.

sudo apt-get build-dep upower
apt-get source upower
cd upower-......
./configure --prefix=/usr --sysconfdir=/etc --libdir=/var/lib --localstatedir=/var
make
sudo checkinstall

I avoid using make install since it borked upower for me so bad i had to reinstall ubuntu, there was no indication of a battery available at all.

Tried reporting this back to the devkit-devel mauling list which handles upower but the reply i got was that i should try to fix the bug instead.

My response is that it would be either the driver or the BIOS/hardware that is broken and i cannot fix either.
I and content with upower as i run it with the removed line.
The only issue i have is that upower updates as soon as there is any update of ubuntu. Not sure what else i can do to fix this.