On Di, 2018-10-23 at 10:38 +0200, Michael Mrozek wrote:
Hi,
okay, notaz let me know that the correct command is: cat /sys/class/power_supply/bq27421-0/charge_now
Here is my test result.
First result: 5044000 After being powered off for 20,5hours: 4503000
So yep, it looks like something eats a bit of battery here.
I had the idea measuring it without a battery inserted, powered via USB, but this makes the LED blink (which needs some power as well). Anyways, it needed 0.03A - no idea if that's too high for blinking or not.
As a next step (to make sure it's not the bq that's reporting random values here), I'm going to measure the power of the battery when I removed it for a while (so NOT powered off).
Question: IF the Pyra really drains the battery while being switched off, could this be software related (so "poweroff" doesn't switch off all components) or does it have to be hardware?
Hi,
I wanted to see if my unit does power draining as well while switched off, so here is the result.
I used cat /sys/class/power_supply/pyra-battery to show the charge.
Result: Before shutting down: 4063000 After two hours: 4021000 Another 5 hours later: 4028000
So at first it looked like it loses a bit of charge, however, five hours later, the charge was a big higher again.
I guess this is because the battery is still warm before I shut it down the first time, then cooling off changed the voltage a bit and that's it.
I'll also do the test with a multimeter and a day waiting time.