The InstantAmperage value for AppleSmartBattery is wrong

Originator:nos1350
Number:rdar://15394253 Date Originated:11/5/2013
Status:Open Resolved:
Product:OSX Product Version:10.9
Classification:Other Bug Reproducible:Always
 
Summary:
Retrieving the InstantAmperage value for the battery returns the wrong value which is usually a value more than 60k

Steps to Reproduce:
1. Run ioreg -rn AppleSmartBattery | egrep -i '"InstantAmperage'

Expected Results:
A value between 0 and ~3000

Actual Results:
A value that is more than 60k

Version:
OS X 10.9 - Build 13A569

Notes:
Sometimes after disconnecting the power cable the value that is returned appears to be correct, but after a minute or so it will shoot back up to >60k. 

Taking the large value that is returned and subtracting 0xFFFF gives a value that is within the correct range but I'm not sure if this is actually correct.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!