Replaced battery. MacBook now periodically sleeps without warning.
13-inch Mid-2012 MacBook Pro. I replaced the battery with the iFixit kit, and have so far twice gone through the battery recalibration cycle and reset the SMC a few times. However, even when on AC power with a full battery, it will randomly shut itself down. pmset -g log output says:
2020-04-25 16:29:26 +0100 Sleep Entering DarkWake state due to 'Low Power Sleep': Using AC (Charge:100%)
2020-04-25 16:29:27 +0100 Sleep Entering Sleep state due to 'Low Power Sleep': Using AC (Charge:100%) 2115 secs
I can’t even think of a sensible explanation for it thinking it’s got low power when the battery is fully charged *and* it’s on AC (unless, say, the battery is inline with the AC feed and somehow failing to meet some required current threshold under heavy usage or something). Aside from the recal and SMC reset processes, I’ve also tried tweaking the energy saver settings to say, “under no circumstances go to sleep”. Settings:
System-wide power settings:
Currently in use:
sleep 0 (sleep prevented by sharingd, Arq Agent)
My next step will probably be to reopen the laptop and check that all the connections are seated correctly. Any other suggestions in the interim greatly appreciated.
I had made a tenuous connection between “heavy WiFi use” and the unexpected sleeps; I popped the case this weekend after a surprise power-loss-shutdown, took the battery out, then put it all back together again. So far it’s been up for about 17 hours without rebooting, and has been doing a network backup over much of that time, so I’m inclined to say it might be fixed. [fingers crossed]
No luck. Heavy WiFi use (e.g. Time Machine backup) definitely appears to be a trigger. Running the laptop without a power connection when this failure occurs means, effectively, a hard crash: even though I've set it to hibernate in low power situations, it seems that the "power loss" is so sudden that it just turns off instead.