Openmoko Bug #1158: Charging stops even while connected

Openmoko Public Trac bugs at docs.openmoko.org
Tue Dec 16 21:17:37 CET 2008


#1158: Charging stops even while connected
---------------------------------+------------------------------------------
    Reporter:  plr@…             |        Owner:  openmoko-devel
        Type:  defect            |       Status:  reopened      
    Priority:  high              |    Milestone:  Om2008.10     
   Component:  System Software   |      Version:  unspecified   
    Severity:  blocker           |   Resolution:                
    Keywords:  power management  |     Haspatch:  0             
   Blockedby:                    |    Estimated:                
 Patchreview:                    |     Blocking:                
Reproducible:  sometimes         |  
---------------------------------+------------------------------------------

Comment(by balajirrao):

 Replying to [comment:47 lindi]:
 > Replying to [comment:46 andy]:
 > > > 2008-12-16T21:28:29+0200 1229455709 Battery Not_charging 4163000
 10312 1003348 293 Li-ion 1 367860 3932100 100 1 0.21
 > >
 > > Not really sure that's evil.  The GSM unit is connected directly to
 battery... the charger rightly decided the battery was full and stopped
 charging, then the GSM unit is eating 10mA direct from battery.  I guess
 after some interval the charger will see if it should charge again.
 >
 > It should charge yes but it does not seem to since the capacity starts
 to go down:
 >
 > {{{
 > 2008-12-16T21:30:30+0200 1229455830 Battery Not_charging 4160000 12375
 1003348 293 Li-ion 1 311220 3932100 100 1 0.15
 > 2008-12-16T21:32:31+0200 1229455951 Battery Not_charging 4158000 16687
 1003348 293 Li-ion 1 227160 3932100 100 1 0.13
 > 2008-12-16T21:34:32+0200 1229456072 Battery Not_charging 4155000 58875
 1003348 293 Li-ion 1 64320 3932100 100 1 0.19
 > 2008-12-16T21:36:34+0200 1229456194 Battery Not_charging 4158000 11625
 1003348 293 Li-ion 1 388380 3932100 100 1 0.18
 > 2008-12-16T21:38:35+0200 1229456315 Battery Not_charging 4158000 10312
 1003348 293 Li-ion 1 367020 3932100 100 1 0.11
 > 2008-12-16T21:40:36+0200 1229456436 Battery Not_charging 4158000 20250
 1003348 293 Li-ion 1 186840 3932100 100 1 0.08
 > 2008-12-16T21:42:37+0200 1229456557 Battery Not_charging 4158000 21937
 1003348 293 Li-ion 1 172380 3932100 100 1 0.05
 > 2008-12-16T21:44:39+0200 1229456679 Battery Not_charging 4158000 10312
 1003348 293 Li-ion 1 366540 3932100 100 1 0.03
 > 2008-12-16T21:46:40+0200 1229456800 Battery Not_charging 4155000 20250
 1003348 293 Li-ion 1 186600 3932100 100 1 0.09
 > 2008-12-16T21:48:41+0200 1229456921 Battery Not_charging 4155000 20625
 1003348 293 Li-ion 1 183120 3932100 100 1 0.06
 > 2008-12-16T21:50:42+0200 1229457042 Battery Not_charging 4155000 10312
 1003348 293 Li-ion 1 366180 3932100 100 1 0.03
 > 2008-12-16T21:52:44+0200 1229457164 Battery Not_charging 4155000 9937
 1003348 293 Li-ion 1 291720 3932100 99 1 0.05
 > 2008-12-16T21:54:45+0200 1229457285 Battery Not_charging 4155000 15375
 1003348 296 Li-ion 1 245400 3932100 99 1 0.47
 > 2008-12-16T21:56:47+0200 1229457407 Battery Not_charging 4155000 10312
 1003348 296 Li-ion 1 365700 3932100 99 1 0.71
 > 2008-12-16T21:58:48+0200 1229457528 Battery Not_charging 4152000 13875
 1003348 298 Li-ion 1 358980 3932100 99 1 0.82
 > 2008-12-16T22:00:50+0200 1229457650 Battery Not_charging 4152000 10312
 1003348 298 Li-ion 1 365340 3932100 99 1 0.93
 > 2008-12-16T22:02:52+0200 1229457772 Battery Not_charging 4152000 19500
 1003348 301 Li-ion 1 193140 3932100 99 1 1.03
 > 2008-12-16T22:04:53+0200 1229457893 Battery Not_charging 4144000 43500
 1003348 303 Li-ion 1 189180 3932100 99 1 0.74
 > 2008-12-16T22:06:55+0200 1229458015 Battery Not_charging 4121000 188437
 1003348 313 Li-ion 1 19860 3932100 99 1 0.53
 > 2008-12-16T22:08:56+0200 1229458136 Battery Not_charging 4118000 189937
 1003348 316 Li-ion 1 19620 3932100 98 1 0.45
 > 2008-12-16T22:10:57+0200 1229458257 Battery Not_charging 4110000 206062
 1003348 321 Li-ion 1 18060 3932100 98 1 0.33
 > }}}
 >
 >
 > > > 00 07 7b e7 28 19 ff ff 00 02 00 33 2a f0 19 00
 > >
 > > Charger is enabled here.
 >
 > I get exactly the same line from dump_regs even now that capacity is
 > already at 97%. Why is battery capacity dropping even if charger is
 > enabled?
 >

 autores = 1 from the dump => supposed to restart charging at 96% of
 vbatmax. vbatmax (reg 0x44) is defined as 4.0 V. So, it expects vbat to
 come to 3.84 V - which might never happen ? Seeing the specs - table 93 -
 we can increase the value of vbatmax upto 4.3 V ? Can it be useful here ?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1158#comment:48>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the devel mailing list