Hi all<div><br></div><div>On my netbook I have noticed that occasionally when running on battery, it will attempt to suspend due to my battery level being critically low (using KDE 4.4/powerdevil for power management). By occasionally I mean, sometimes I can get an enture (dis)charge out of the battery without it happening, other times it might happen twice within a couple hours. Never more than that.</div>
<div><br></div><div>The computer is a Gateway LT2102h netbook which I read is a rebranded Acer Aspire One 532.  It has an Insyde H20 BIOS, which gateway doesn&#39;t seem to have updates for (the netbook was only released a few months ago). I run Gentoo Linux, and I have tried several kernels (.31, .32, .33 and the .34-rc5). I have also tried the latest hal release 0.5.14 (currently Gentoo&#39;s stable is 0.5.13) all to no avail.</div>
<div><br></div><div>I set up halevt to monitor my hal activity and when the problem happens I see this:</div><div><br></div><div>Property /org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0:battery.remaining_time modified (removed: 1, added: 0)</div>
<div><br></div><div>Also it seems from lshal that my battery is no longer there.</div><div><br></div><div>I have built my kernel with the old /proc/acpi/battery/BAT0 interface, and if I run &#39;cat /proc/acpi/battery/BAT0/state&#39; the battery comes back, and halevt reports that the &quot;battery.remaining_time&quot; has been added again.</div>
<div><br></div><div>To me, it sounds like KDE nor HAL are at fault here. It would seem that it is either a kernel, bios/ACPI, or hardware problem. I can rule out hardware in a few days, as my friend has the same netbook which I will put my HDD in and test with.</div>
<div><br></div><div>So I guess my question is, how can I drill deeper. Is there a userspace (or otherwise) tool I can use to see why HAL is being told the battery disappears? My ACPI knowledge is limited.  I tried enabling power management debugging and ACPI debugging in the kernel, but didn&#39;t see anything unusual (to my eyes).</div>
<div><br></div><div>Thanks for reading,</div><div>Dave</div>