[Letux-kernel] generic-adc-battery

Andreas Kemnade andreas at kemnade.info
Tue Feb 9 07:38:50 CET 2016


> > So what? Do I have 60% or 10%? That makes quite a difference.
> > 10% might cause userspace to do some harder power saving measures
> > which might cause discomfort.
> > Maybe there is something wrong in the driver. I am surprised how
> > bad the values are. I repeated each measurement some times.
> Yes, I also have the impression that it has become worse and may have
> a bug (perhaps some iio API has changed). When Lukas developed the
> non-DT version it worked well and when we started to convert to DT some
> years ago.
> Maybe the batteries we use have become worse? So their inner resistance
> has increased? This could also make a difference.
One part of the problem seems to be that "status" is broken.
It seems to display whether current is flowing into the device from usb
and not whether the battery is actually charged. So the wrong table is
picked when usb current is lower than the total consumption of the device.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20160209/ef0253ef/attachment.asc>

More information about the Letux-kernel mailing list