PINE64
How do you guye s charge your PB - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: Pinebook Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=80)
+--- Thread: How do you guye s charge your PB (/showthread.php?tid=5321)



How do you guye s charge your PB - machinehum - 10-28-2017

Right now I'm using a 2A wall wort + USB to barrel connector. I really like this configuration because I can use the wall wort to charge my phone + eReader as well, so I don't have to carry around multiple chargers.

But it seems that when I'm using the PB it doesn't actually charge. Based on the battery capacity and lifetime of the PB I can't imagine it used more than ~1A, so it should be able to shunt current into the battery during use no?

Is there a little script or app that I can use to view power consumption / charge current etc... ?


RE: How do you guye s charge your PB - MarkHaysHarris777 - 11-03-2017

You can easily write a script ; take a look in :

/sys/class/power_supply/battery/

things like uevent, status, capacity, current_now, temp, voltage_now, etc


RE: How do you guye s charge your PB - machinehum - 11-04-2017

Cool thanks! I've noticed there is a '/sys/class/power_supply/ac' but those files are all empty. I'm interested at looking at the input current to the entire device. Is there a way to set the charge current? I don't think my pb is using the full capability of my power brick.