ENXIOing non-present battery

Colin Percival cperciva at freebsd.org
Sun Dec 7 20:50:54 UTC 2014


On 12/07/14 08:03, Adrian Chadd wrote:
> Wait - so it reports a battery with 0% in it, but not that it's not present?

It reports all zeroes: Not Present, 0% power, 0V, 0mA design capacity, etc.

> How's this work on other systems? KDE on Linux doesn't lose its mind
> if the second battery is totally flat.

Good question.  I'll download an Ubuntu image and find out.  Given that KDE
gets this information via hald, it's possible that hald's linux code has a
workaround for this though -- the battery-status-reading code is entirely
separate between FreeBSD and Linux.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


More information about the freebsd-acpi mailing list