Skip to content

Instantly share code, notes, and snippets.

@patrickkettner
Created April 26, 2017 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickkettner/23043521ffcbf5ba1590edd45de4168c to your computer and use it in GitHub Desktop.
Save patrickkettner/23043521ffcbf5ba1590edd45de4168c to your computer and use it in GitHub Desktop.
+-o AppleSmartBattery <class AppleSmartBattery, id 0x100000257, registered, matched, active, busy 0 (0 ms), retain 6>
{
"ExternalConnected" = No
"TimeRemaining" = 73
"InstantTimeToEmpty" = 17
"ExternalChargeCapable" = No
"FullPathUpdated" = 1493188334
"CellVoltage" = (3475,3520,3516,0)
"Voltage" = 10511
"BatteryInvalidWakeSeconds" = 30
"AdapterInfo" = 0
"MaxCapacity" = 7168
"PermanentFailureStatus" = 0
"Manufacturer" = "SMP"
"Location" = 0
"CurrentCapacity" = 1420
"LegacyBatteryInfo" = {"Amperage"=18446744073709550441,"Flags"=4,"Capacity"=7168,"Current"=1420,"Voltage"=10511,"Cycle Count"=1134}
"FirmwareSerialNumber" = 1
"BatteryInstalled" = Yes
"PackReserve" = 200
"CycleCount" = 1134
"DesignCapacity" = 8440
"OperationStatus" = 58435
"ManufactureDate" = 17685
"AvgTimeToFull" = 65535
"BatterySerialNumber" = "D864344Y28EF9CPAM"
"BootPathUpdated" = 1486525246
"PostDischargeWaitSeconds" = 120
"Temperature" = 3062
"UserVisiblePathUpdated" = 1493188754
"InstantAmperage" = 64756
"ManufacturerData" = <000000000702000112060000034a3435033030330341544c021600>
"MaxErr" = 1
"FullyCharged" = No
"DeviceName" = "bq20z451"
"IOGeneralInterest" = "IOCommand is not serializable"
"Amperage" = 18446744073709550441
"IsCharging" = No
"DesignCycleCount9C" = 1000
"PostChargeWaitSeconds" = 120
"AvgTimeToEmpty" = 73
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment