Re: A83: Battery level?


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

Re: A83: Battery level?




What I was interested in was to check more than if it's just good or bad
Otherwise if the system checks it than the system also show it immediately

/Stefan

On Mon, 18 Jan 1999, Dan E wrote:

> 
> 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 <-------------
> >
> >
> 
> 
> 



References: