- Joined
- Mar 28, 2017
- Messages
- 42
- Motherboard
- 1. Lenovo X230 2. HP Folio 9470m
- CPU
- 1. i5 3320M 2.i5- i5-3337U
- Graphics
- both HD4000
- Mac
- Mobile Phone
Hi RehabMan,
Following my previous post regarding Shutdown issue,
https://www.tonymacx86.com/threads/...art-after-shutdown.252410/page-2#post-1763226
I borrow some codes from here:
https://github.com/ARM-software/edk2/blob/master/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Gpe.asl
It seems solve the shutdown problem after sleep.
However, when I think all the problems have been solved, I find that the battery cycle count is disappeared. I have already increased the battery information fields from 13 to 15, but the cycle count is still not there. Kindly advise which EC register is storing this information or help me to retrieve the info from your ACPIBatteryManager.kext (I think the cycle count info ever shown was also from ACPIBatteryManager) . You may find that my output from IORegistryExplorer is showing the cycle count info already, but there is only a test by adding a new register on EC. It should not be a correct one because when I changed an old battery, the count remains unchanged.
Your help is highly appreciated!
Following my previous post regarding Shutdown issue,
https://www.tonymacx86.com/threads/...art-after-shutdown.252410/page-2#post-1763226
I borrow some codes from here:
https://github.com/ARM-software/edk2/blob/master/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/Gpe.asl
It seems solve the shutdown problem after sleep.
However, when I think all the problems have been solved, I find that the battery cycle count is disappeared. I have already increased the battery information fields from 13 to 15, but the cycle count is still not there. Kindly advise which EC register is storing this information or help me to retrieve the info from your ACPIBatteryManager.kext (I think the cycle count info ever shown was also from ACPIBatteryManager) . You may find that my output from IORegistryExplorer is showing the cycle count info already, but there is only a test by adding a new register on EC. It should not be a correct one because when I changed an old battery, the count remains unchanged.
Your help is highly appreciated!