oops, misreading tabs as I copy/paste - you will need to consult the twl6030 register manual and probably make some defines of your own (for charging rate), assuming the thing allows you to use a different charging rate at all...


On Wed, Jul 2, 2014 at 2:02 PM, Akram Hameed <akramh@aq1systems.com> wrote:
Hi Alex,

I've had similar problems with the Overo. The little backup battery is pretty limited, BUT, by the look of Scott's patch, he's using the most conservative charging rate (25 uA) for the backup battery (this is what Steve Sakoman originally did in his patch). You might try using one of these other options I've stolen from the diff (I cannot tell you which is safe and not safe...! I use 500uA on our Overos and it works OK). Basically you just want to charge the damned thing up fast enough that being 'on' for a brief period actually helps boost things somewhat:

+#define BIT_PM_RECEIVER_BB_CFG_BBISEL_25UA 0x00
+#define BIT_PM_RECEIVER_BB_CFG_BBISEL_150UA 0x01
+#define BIT_PM_RECEIVER_BB_CFG_BBISEL_500UA 0x02
+#define BIT_PM_RECEIVER_BB_CFG_BBISEL_1MA 0x03

Cheers,

Akram


On Wed, Jun 25, 2014 at 12:08 AM, alex0486 <alex0486@bellsouth.net> wrote:
All,
I am running a couple of Gumstix Duoveros with the same battery and kernel
patches that Scott Ellis has detailed in his writeup here:
http://www.jumpnowtek.com/gumstix/duovero/Duovero-RTC.html

Has anyone noticed that the batteries seem to lose their charge after being
powered off for a few days? When I turn them off over the weekend, sometimes
the hwclock loses its date. After I leave them on for a while, the batteries
seem to recharge and hold their date across reboots/removing the power
cable. I have noticed this on several Duoveros now.

Regards,

Alex Ray



--
View this message in context: http://gumstix.8.x6.nabble.com/Duovero-RTC-Battery-Life-tp4969273.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users