-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resume from hibernation turns off battery threshold at 80 percent #103
Comments
This feature shouldn't work at all on non-apple hardware. I tried to use it for a bit and noticed that my battery doesn't charge correctly with this turned on: battery dies at 30-40% immediately. I don't know whether you have the same issue or not, but I suggest at least checking it out. |
I'm not sure we are on the same issue. By "this feature," did you mean battery threshold on hibernation or just the battery threshold? |
…number * HibernationFixup breaks battery threshold in AsusSMC. * Sometimes laptop suddenly stopped to powering on, that issue may came from hibernation. * Remove HibernationFixup kext and configs to avoid this issue. * Issue thread in AsusSMC(hieplpvip/AsusSMC#103). * Add Update type and Revision number to management versions. Bug: R8EU-001 Test: Apply and Reboot Signed-off-by: Yang Jeong Hun <[email protected]>
I fried my laptop's motherboard and sold it for 100000 won. I won't close this issue though because it's a real one. |
Can it really be turned off in Energy Saver in Catalina? Lines 379 to 390 in c15d2f2
Lines 604 to 616 in c15d2f2
Lines 871 to 875 in c15d2f2
I don't see any reading from Battery Health that is used to turn it off. Anyways, I think the original issue can be resolved if the kext calls the method on resume. I don't know the details, but hibernation is similar to shutdown, which if true will reset EC to original, non-conservation mode. A quick check is to call the corresponding ACPI method |
I'm blind AsusSMC/AsusSMC/KeyImplementations.cpp Lines 55 to 67 in c15d2f2
I can't get the machine to hibernate, so can't test it. Tried: HibernateMode=Auto/RTC/NVRAM, ThirdPartyDrives=True, HibernationFixup.kext=enabled, and hibernatemode=25/3. |
On normal use, AsusSMC 1.4.0+ caps the battery level at 80 percent if
Battery Health
inEnergy Saver
is toggled on.When the machine resumes from hibernation, the threshold is ignored and the battery keeps on charging until 100 percent.
I'm not good with logging (and about zero knowledge in coding), so if anyone could tell me how, I'll collect the logs and upload them here.
IOReg: Battery Conservation Mode is marked true in ATK-AsusSMC
MacBook Pro.zip
Asus
Dmesg output shows battery conservation mode trueAsus.log.zip
Hibernation logs
Hibern
hibern
HBFX
hibernation.zip
The text was updated successfully, but these errors were encountered: