Re: A83: Battery level?


[Prev][Next][Index][Thread]

Re: A83: Battery level?




Hmm...can you check relative values or just good/bad?

-Dan


>
>On 18-Jan-99, Stefan Lennartsson wrote:
>
>>Do anyone know how to check the battery level?
>
>>/Stefan
>
>Sure, check bit 0 at port 14h (though you might have to write some stuff to
>some other ports first, I'm really not sure about this). Now, the OS reads
>the battery at startup, and if it was ok, bit 5 in iy+18h is set, and thus
>you can just check this bit.
>
>Linus
>
>.--> ____
>|    \OO/     -  -- --- ------ Linus Akesson --
http://fly.to/linus.world -.
>`-OoO-\/-OoO---------------------------------------------------------------
'
>                Smash forehead on keyboard to continue.....
>                -------------> MrCookie v1.1 <-------------
>
>



Follow-Ups: