Contribute
Register

Battery Manager with Fix for Boot without Batteries

Status
Not open for further replies.
Just updated the battery driverv1.70.3, I thought to fix the "Energy" tab Activity Monitor crash on startup.
 
Hello RehabMan:

After using ACPIBatteryManager on my laptop (patched the dsdt.aml by myself.) I can display power level on the status bar, but the power level is slightly larger than the windows environment, about 3-5%, but with the HWMonitor.app(from OS-X-FakeSMC-kozlek) shows the value and the windows environment is the same. How can i solve this problem?

My laptop model is HP Elitebook 820 G4, and OS is 10.12.6.
 
Hello RehabMan:

After using ACPIBatteryManager on my laptop (patched the dsdt.aml by myself.) I can display power level on the status bar, but the power level is slightly larger than the windows environment, about 3-5%, but with the HWMonitor.app(from OS-X-FakeSMC-kozlek) shows the value and the windows environment is the same. How can i solve this problem?

My laptop model is HP Elitebook 820 G4, and OS is 10.12.6.

Your laptop has a guide.
https://www.tonymacx86.com/threads/...book-using-clover-uefi-hotpatch-10-11.189416/
 
Hi RehabMan,

I have an interesting issue with ACPIBatteryManager. If I look at the console and look for battery or powerd events I can see that it is retrieving updates about that status of the battery e.g.

default 14:17:23.620249 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:13.796680!

So its working correctly and also detecting AC on or off, but the catch is that the UI (At the top right) is not updating along with the new values. The only way I can make it update is to turn battery percentage on and off and then it displays the updates values I can see in console. Is this something you have experienced before or can help me with?

A short snippet of my console as it updates the current values. In activity monitor I can see the correct "live" values of the battery.

default 14:18:23.639683 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:14.367220!
default 14:18:53.648979 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:14.626556!
default 14:18:53.648997 +0200 powerd Battery time remaining posted(0x1000000004b009f) Time:159 Source:AC
default 14:18:53.649035 +0200 powerd Battery capacity change posted(0xb000f). Capacity:15 Source:AC
default 14:19:23.658323 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:14.903181!
default 14:19:53.667466 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:15.179806!
default 14:19:53.667545 +0200 powerd Battery time remaining posted(0x1000000004b009e) Time:158 Source:AC
default 14:19:55.860050 +0200 dasd Attempting to suspend based on triggers: ( "com.apple.duetactivityscheduler.batterylevelpolicy.batterylevelchange" )
default 14:19:55.860165 +0200 dasd Ignoring trigger com.apple.duetactivityscheduler.batterylevelpolicy.batterylevelchange because conditions are deteriorating
 
Hi RehabMan,

I have an interesting issue with ACPIBatteryManager. If I look at the console and look for battery or powerd events I can see that it is retrieving updates about that status of the battery e.g.

default 14:17:23.620249 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:13.796680!

So its working correctly and also detecting AC on or off, but the catch is that the UI (At the top right) is not updating along with the new values. The only way I can make it update is to turn battery percentage on and off and then it displays the updates values I can see in console. Is this something you have experienced before or can help me with?

A short snippet of my console as it updates the current values. In activity monitor I can see the correct "live" values of the battery.

default 14:18:23.639683 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:14.367220!
default 14:18:53.648979 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:14.626556!
default 14:18:53.648997 +0200 powerd Battery time remaining posted(0x1000000004b009f) Time:159 Source:AC
default 14:18:53.649035 +0200 powerd Battery capacity change posted(0xb000f). Capacity:15 Source:AC
default 14:19:23.658323 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:14.903181!
default 14:19:53.667466 +0200 coreduetd CDDBatteryMonitor: received batterycallback, currentPercentage:15.179806!
default 14:19:53.667545 +0200 powerd Battery time remaining posted(0x1000000004b009e) Time:158 Source:AC
default 14:19:55.860050 +0200 dasd Attempting to suspend based on triggers: ( "com.apple.duetactivityscheduler.batterylevelpolicy.batterylevelchange" )
default 14:19:55.860165 +0200 dasd Ignoring trigger com.apple.duetactivityscheduler.batterylevelpolicy.batterylevelchange because conditions are deteriorating

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
Sorry about that. All the information is attached. I see the output actually mentions AppleALC.kext is missing Lilu.kext. Lilu is injected by clover.
 

Attachments

  • toubleshooting.zip
    2.3 MB · Views: 167
I managed to solve the issue in the weirdest way, been looking for a solution for days now and nothing worked. Turns our rebuilding the kextcache from terminal fixed the problem completely. Is there a difference between rebuilding caches in say "Kext Wizard" compared to doing so via terminal?
 
Status
Not open for further replies.
Back
Top