[Lenny400] [PATCH] power: add driver for PM MCU in Letux 400
Daniel Glöckner
daniel-gl at gmx.net
Tue Apr 7 11:24:46 CEST 2015
Hi Riccardo,
On Tue, Apr 07, 2015 at 08:58:59AM +0200, Riccardo Mottola wrote:
> What kernel is this patch for and, more important, did you test it a bit?
as I wrote, this was for the 2.6.31.3 kernel from Ingenic with patches
to remove some of their custom hacks, f.ex. in the i2c-jz47xx driver.
> I got no continuous voltage and charge information and even the information
> about the system being plugged in or not were bogus sometimes, wondering
> if the hardware was actually limited/faulty to just 4 "charge levels".
Here is a picture of two parts of the discharge curve straight from
/sys/class/power_supply/battery/voltage_now:
https://drive.google.com/file/d/0B4x1bWT7qjZVT01RdU44SjFxVEE/view?pli=1
I think I made those logs while the backlight was off and the cpu was
mostly idle (periodically logging barometer data to an sd card). As
you can see, there are a lot more levels than 4. The horizontal axis
is in seconds.
Best regards,
Daniel
More information about the Lenny400
mailing list