08-02-2016, 02:55 AM
(08-01-2016, 09:44 PM)UnixOutlaw Wrote: Okay - so I flipped over the jumper - to the other poles - and still no go...
Powers up on USB DC in - battery shows connected and charged - pull USB power out and the thing goes black!
Is this a software thing? What gives? What's the point of charging a battery if you can't run on it?
I'm yet to test in Linux - but I will be mighty annoyed if I can't run either of my Pines on battery!
Also - are there any AXP (I think I read somewhere about Pine using AXP209) scripts to monitor battery from Linux?
I can't comment as to whether the pine64 will run if booted with DC connected, and then is yanked, but I can say that I was able to power the pine64 from the battery without any drama... oh, wait... does your battery have a three pin connector? If not, you need to connect the middle pin to ground via a 10k resistor (there is an obscure reference to this on p6 of the datasheet, plus tllim stated that here.
If you have a two wire battery, and the middle pin is not connected to GND via the resistor, the AXP803 will think there is something wrong with the battery and refuse to use it (or even charge it IIRC).
There is one or two battery monitor scripts knocking around... I made this one colourful one based off of one of the ones knocking around on the forum somewhere.