pndevmapperd: add unexpected charge stop workaround
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 4 Aug 2011 22:37:22 +0000 (01:37 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 4 Aug 2011 23:15:37 +0000 (02:15 +0300)
commit9c7db6d5e5c0634ae85713fc27fd3bef2ee96827
tree8a53553a0cef22e918588973391b90024ee2be54
parent471022009f9f9ce5d41a5034aaeb48c4264c3e20
pndevmapperd: add unexpected charge stop workaround

My machine in some real rare cases (once a week or so) just stops
charging without any good reason. What helps here is replugging
the charger or writing to a chip charge register, so we do the later
indirectly every 20 minutes as a workaround.

There have been similar reports in the forums, where user leaves
the machine charging overnight and finds flat battery in the morning,
so hopefully this will help them too.
apps/pndevmapperd.c