-
Notifications
You must be signed in to change notification settings - Fork 21
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
Continuing to charge in Sleep Mode #14
Comments
61% is normal (slight deviation is expected), but 77% is worth debugging . Can you attach the log when it reaches 77% if possible? (logs can be found in |
here it is. When i noticed it went up to 77%, I unplugged the charger until it went down to 50%~. log
|
I guess system fell into a deeper sleep in between, and firmware/iBoot took over and decided it wants to charge. This would also explain why Mac always starts charging during power down and restarts, despite the OS (by I'll see whether it holds off charging above 80% if my iPhone is powered down. Maybe even Apple themselves cannot make this to work. |
Sorry for the late reply, I was a bit busy lately. I also noticed this strange behavior on my coworker's mac (on Sonoma), where the computer just stops batt (without notifying batt that it is going to sleep, which it should) and causing it to charge over the limit. I haven't figured out which sleep state it is, how it happened yet. Thank you @Jerry1144 for your analysis. Yes you are totally right. But one thing is missing, if the mac sleeps, batt should receive a message about the mac is going to sleep, which is missing from the logs. Maybe macOS is having a bug or it is not sleep at all. Will it be hibernation? When macOS hibernates, it should reset the charging state and cause this behavior. I haven't tested it yet (will try to debug this issue). |
Sorry for the delay, but yes, even the "limit charge to 80" setting doesn't seem to work when powered down. So all the battery health functions are probably only maintained by the OS, and have no correspondence in the firmware at all, not even a flag for unconditional charge limits. |
That's sad that now Apple's implementation is OS-only too, unlike the old Intel MacBook that have this in the firmware. |
I have set Lines 9 to 11 in a7fedaf
|
Hi,
This little script/app has been great so far - nice work on this! But I notice that my mac did sometimes continue to charge in sleep mode with lid off. I set mine between 60%, and one time it charged to 77% and another to 61%. I wonder what the underlying issue is. Thanks in advance!
The text was updated successfully, but these errors were encountered: