RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,058
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
Awesome! I pulled all your changes and am running again. Definitely helpful to have the values in decimal rather than hex. Here's some sample output:
...
I ran the coconutBattery to see if there were any clues and I noticed the debug information screen has "Battery1: 0" and "Battery2: 0" along with the Health1 and Health2 not really coming up with anything. Could that be an area to start looking into?
Problem is we don't really know what it is looking for. Or since it is calling system APIs, what the system is looking for or doesn't like about the contents of ioreg for battery.
I could be almost anything, too long of serial#, name, or other detail...
Here's my ioreg battery detais for comparison...
Code:
ProBook-4540s:Projects Admin$ ioreg -r -n AppleSmartBattery
+-o AppleSmartBattery <class rehab_ACPIBattery, id 0x1000001f0, registered, matched, active, busy 0 (0 ms$
{
"ExternalConnected" = Yes
"TimeRemaining" = 65535
"InstantTimeToEmpty" = 65535
"ExternalChargeCapable" = Yes
"CellVoltage" = (3124,3124,3124,3126)
"PermanentFailureStatus" = 0
"BatteryInvalidWakeSeconds" = 30
"Voltage" = 12498
"MaxCapacity" = 4240
"Quick Poll" = No
"AtWarnLevel" = No
"Manufacturer" = "Hewlett-Packard"
"CurrentCapacity" = 4240
"LegacyBatteryInfo" = {"Amperage"=0,"Flags"=5,"Capacity"=4240,"Current"=4240,"Voltage"=12498,"Cycle $
"FirmwareSerialNumber" = 135217
"BatteryInstalled" = Yes
"CycleCount" = 93
"DesignCapacity" = 4240
"AvgTimeToFull" = 65535
"ManufactureDate" = 0
"AtCriticalLevel" = No
"BatteryType" = "LIon"
"InstantTimeToFull" = 65535
"BatterySerialNumber" = "Primary-21031 2011/09/07"
"PostDischargeWaitSeconds" = 120
"Temperature" = 2110
"Serial" = "21031 2011/09/07"
"InstantAmperage" = 0
"MaxErr" = 0
"FullyCharged" = Yes
"DeviceName" = "Primary"
"IOGeneralInterest" = "IOCommand is not serializable"
"Amperage" = 0
"IsCharging" = No
"PostChargeWaitSeconds" = 120
"AvgTimeToEmpty" = 65535
}