Page 1 of 1
power check
Posted: Fri Aug 28, 2009 2:53 pm
by lama
hi everyone,
i have a simple question, how can i check that system is powered by battery (or ac), and if so, how can i measure its power state?thanks for any answer.
Re: power check
Posted: Fri Aug 28, 2009 4:18 pm
by Combuster
A quick google shows that both APM (=old) and ACPI (=nasty) have support for batteries, I suggest you start looking there.
Re: power check
Posted: Fri Aug 28, 2009 11:09 pm
by lama
i know about that.in my system i have only used apm for some power down routines, nothing else so far - so i dont know much about it and i have not found any texts covering the things i want to do (except official datasheet ofcourse
).but i'll check again.
Re: power check
Posted: Sat Aug 29, 2009 2:45 am
by lama
ok, got it
you can lock this topic.