battery power in android - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: Lithium and RTC Ports (https://forum.pine64.org/forumdisplay.php?fid=44) +---- Thread: battery power in android (/showthread.php?tid=1900) |
RE: battery power in android - UnixOutlaw - 08-16-2016 (08-13-2016, 02:09 AM)pfeerick Wrote:(08-12-2016, 11:07 PM)MarkHaysHarris777 Wrote:(08-12-2016, 10:32 PM)UnixOutlaw Wrote: OK - so I've got 10 x 10K resistors from RS - which side/end does the "resistance"? Dumb newb question I know - but - as previously stated - I'm colour blind - and never done this kinda stuff before... :-) If you read this thread from the start - then you'd already be aware I have already wired up a battery to Pine - and got Android to show them charging - but being unable to actually power Pine off a battery (dies when I pull micro USB power from it). Yes - in ideal lighting conditions - I can distinguish black from red... And as for tears, I have a love hate relationship with Pine - and one day I may end up deliberately smashing one of my boards and shed tears of pure savage delight :-) Anyway - going to test tonight, or tomorrow morning, whether any of my batteries with PH3 connectors + 10 K resistor to middle pin, will actually power Pine64, or not... Right now Android is the only resource I have for testing, really hanging out for a Linux build that supports the Pine branded 7" touchpanel... RE: battery power in android - pfeerick - 08-17-2016 (08-16-2016, 01:58 AM)UnixOutlaw Wrote: If you read this thread from the start - then you'd already be aware I have already wired up a battery to Pine - and got Android to show them charging - but being unable to actually power Pine off a battery (dies when I pull micro USB power from it). Yeah, has be a few days since this thread started so the grey matter is starting to forget things... and just checking, especially since there will be a re-wire involved... so good 'ol Murphy will be in the building That sounds a little... boring! You should hire a steam roller to flatten the kinks out of it xD Fingers crossed, hope that fixes it. RE: battery power in android - gperez1234 - 08-31-2016 I connect the battery and no power. I plug the ac and power on and charging battery. Disconnect ac power from battery. Have one button on power side. Pressing that does not shut it off. Is there a command to shut down? I have ordered more switches from Hong Kong but that will take a while. I have the abs case and rather close it once. RE: battery power in android - MarkHaysHarris777 - 08-31-2016 (08-31-2016, 07:21 PM)gperez1234 Wrote: I connect the battery and no power. I plug the ac and power on and charging battery. Disconnect ac power from battery. Have one button on power side. Pressing that does not shut it off. Is there a command to shut down? I have ordered more switches from Hong Kong but that will take a while. I have the abs case and rather close it once. If you press and hold the button (hold the button for a couple seconds) the power off dialog box will be displayed. If you click the button it will suspend; however, you will not be able to wake it in most situations (some claim that the most recent image will awaken). If you have not soldered the switch in place it will not work. Obviously, the switch might be defective. RE: battery power in android - pfeerick - 08-31-2016 When you say no power (in the first instance), do you mean that the pine64 didn't just power up when you connected the battery? If so, that is normal... after the battery is connected, you hold the button the power button down till it glows a bit brighter (it first comes on dim, then brightens) and then let go. With pressing the power button not shutting it off... is this with android (as that is the thread topic)? On android, you should be able to hold down the power button for about 2 seconds, and then get a power menu, and then you'll need to use a mouse to click on 'power off' On linux, it appears from comments by others that pressing the power button on a desktop GUI (i.e. MATE) environment will bring up the power off menu prompt, allowing you to choose to shutdown or restart. On a headless / console linux build, the power button isn't bound to anything by default, so effectively does nothing. In that instance... type in 'sudo shutdown -h' or 'sudo poweroff' to power down the pine. If the button is doing nothing on android or on a desktop GUI, you might want to double check the solder connection, as it should be working. You can also connect jumper wires to the EXP header, and seeing what happens when you bridge/connect pins 5 & 6, mimicking the pressing of the button. (08-31-2016, 07:21 PM)gperez1234 Wrote: I connect the battery and no power. I plug the ac and power on and charging battery. Disconnect ac power from battery. Have one button on power side. Pressing that does not shut it off. Is there a command to shut down? I have ordered more switches from Hong Kong but that will take a while. I have the abs case and rather close it once. RE: battery power in android - gperez1234 - 09-01-2016 Thank you all! I was afraid to solder. I soldered it in and it works and the solder job does not look to horrible. Do I need the reset button? I have some of the switches coming. Unfortunately the case appears to be designed to be closed once and good luck taking it apart after that. I can always use the switches for breadboards although the pins are arranged differently. RE: battery power in android - pfeerick - 09-01-2016 Beautiful! If you can turn the power supply off for the pine64 on and off (or unplug it), then no, there is no real need for the reset button. Yeah, you can probably get away with using them on breadboards... prublem is the front to pins are the actual switch pins, and the back two are just a mechanical anchor... so you'll want to bend them out of the way if you use them on a breadboard. (09-01-2016, 03:01 AM)gperez1234 Wrote: Thank you all! I was afraid to solder. I soldered it in and it works and the solder job does not look to horrible. Do I need the reset button? I have some of the switches coming. Unfortunately the case appears to be designed to be closed once and good luck taking it apart after that. I can always use the switches for breadboards although the pins are arranged differently. RE: battery power in android - dcmorley - 09-01-2016 I'm going nuts...please HELP. I finally got my PlayBox. I installed a 10000mha li ion 3.7v 2 wire battery by soldering + & - to the bottom of 1 and 3 pins of the battery connector with the proper polarity and switched the jumper to the Batt position. Assembled it all together and tried to give it a full charge. I'm running the Pine Android LCD image. The battery shows it's charging in Android but the % doesn't increase. I then powered off leaving the 5v usb power supply that came with the board plugged in and the system switched over to charge mode. I left it sit for 16 hrs and when I powered up again Android shows exactly the same % of charge. What's going on??? RE: battery power in android - MarkHaysHarris777 - 09-01-2016 (09-01-2016, 04:36 AM)dcmorley Wrote: I'm going nuts...please HELP. The PMIC will NOT charge the batter using a two wire system. The third wire (the center one, yellow on three wire systems) is required so that the charge system can monitor the temperature. You may 'fool' the PMIC by running a 10K ohm resistor from the center pin(2) to ground, on a two wire system, and then the PMIC will charge the battery. (hope this helps you) RE: battery power in android - dcmorley - 09-01-2016 (09-01-2016, 05:03 AM)MarkHaysHarris777 Wrote:(09-01-2016, 04:36 AM)dcmorley Wrote: I'm going nuts...please HELP. ThankX Mark, I'll try that. At least I now know. (09-01-2016, 03:55 PM)dcmorley Wrote:(09-01-2016, 05:03 AM)MarkHaysHarris777 Wrote:(09-01-2016, 04:36 AM)dcmorley Wrote: I'm going nuts...please HELP. Mark, Should I use a thermistor or is it safe to just use a resistor? |