@BlvckBytes
@yoannez
I am very happy that it works for you, would've never thought I could make that work xD. Are you sure it does everything a battery has to offer? Charging (percentage going up), draining (percentage going down) and status (charging-bolt)?
I could imagine that there are still bugs, so please check said features. BTW, why are you using the Count field? For example on _OSI to XOSI it seems kinda weird, since you'd want to replace every occurance. Also, on my patches, you don't really need them. Default is 0, replace everything.
I have no words to thank you, it works flawlessly. Charge/discharge, Time to full charge,
And BTW I'm not sure I have the same issue that
@kecinzer mentions with SMCBattery manager, IOReg does look like yours but I can see the cycle count in System Profile:
Battery Information:
Model Information:
Serial Number: 7659
Manufacturer: SMP
Device Name: 00HW029
Pack Lot Code: 0
PCB Lot Code: 0
Firmware Version: 0
Hardware Revision: 0
Cell Revision: 0
Charge Information:
Charge Remaining (mAh): 3034
Fully Charged: No
Charging: Yes
Full Charge Capacity (mAh): 3200
Health Information:
Cycle Count: 65
Condition: Normal
Battery Installed: Yes
Amperage (mA): 655
Voltage (mV): 17145
System Power Settings:
AC Power:
System Sleep Timer (Minutes): 60
Disk Sleep Timer (Minutes): 10
Display Sleep Timer (Minutes): 15
Wake on Clamshell Open: Yes
AutoPowerOff Delay: 28800
AutoPowerOff Enabled: 1
Current Power Source: Yes
DarkWakeBackgroundTasks: 0
Display Sleep Uses Dim: Yes
GPUSwitch: 2
Hibernate Mode: 3
High Standby Delay: 86400
ProximityDarkWake: 1
Standby Battery Threshold: 50
Standby Delay: 10800
Standby Enabled: 1
TCPKeepAlivePref: 1
Battery Power:
System Sleep Timer (Minutes): 15
Disk Sleep Timer (Minutes): 10
Display Sleep Timer (Minutes): 5
Wake on Clamshell Open: Yes
AutoPowerOff Delay: 28800
AutoPowerOff Enabled: 1
DarkWakeBackgroundTasks: 0
Display Sleep Uses Dim: Yes
GPUSwitch: 2
Hibernate Mode: 3
High Standby Delay: 86400
ProximityDarkWake: 0
Reduce Brightness: Yes
Standby Battery Threshold: 50
Standby Delay: 10800
Standby Enabled: 1
TCPKeepAlivePref: 1
Hardware Configuration:
UPS Installed: No
AC Charger Information:
Connected: Yes
ID: 0x0100
Wattage (W): 60
Revision: 0x0000
Family: 0x00ba
Serial Number: 0x00453cbe
Charging: Yes