#2255 HIGH Trial-3: Error message of battery status

Zarro Boogs per Child bugtracker at laptop.org
Tue Aug 28 21:38:54 EDT 2007


#2255: Error message of battery status
----------------------------------+-----------------------------------------
  Reporter:  garysu               |       Owner:  dwmw2  
      Type:  defect               |      Status:  new    
  Priority:  high                 |   Milestone:  Trial-3
 Component:  embedded controller  |     Version:  Q2C18  
Resolution:                       |    Keywords:         
  Verified:  0                    |  
----------------------------------+-----------------------------------------
Comment (by rsmith):

 Replying to [comment:8 rsmith]:

 > The battery status indicators in current EC code is broken. I haven't
 checked NMH batteries but its certainly incorrect for LFP batteries.

 I checked NiMH today and under OFW the charging correctly changes when the
 system moves from charging to discharging.  Yet the kernel only reports
 charging.  Its not a UI issue because
 /sys/class/power_supply/olpc_battery/status is wrong.  I looked at the
 olpc_battery.c and nothing looks to be out of whack.  So I don't really
 understand what happening here.  I've requested dillinger to add in some
 debugging info into the kernel so that I can see what the data is that the
 kernel is operating on.  The other bits in the status byte work as
 expected.

-- 
Ticket URL: <https://dev.laptop.org/ticket/2255#comment:10>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list