I have a MacBookPro6,2 (MC372LL/A). The battery had died and can't run the latest macOS, so I installed Linux Mint on it with the idea to use it as a media computer. It was booting up as soon as the adapter was connected to the laptop. Now that I have installed a replacement battery, I'd like it to power up when the adapter provides power.
Prior to the battery replacement, plugging the adapter into the wall and laptop (in either order) would cause the laptop to boot. Now, it does not.
(Details for the curious: I have a power strip on a remote-control power switch for the TV, etc.; the laptop is set to not sleep with the lid closed; a cron job will shut the laptop off if the lid is closed, if it's connected to the TV, and if the adapter is unpowered.)
I've ready elsewhere about people having it start upon being plugged in and wanting it to not do this, so I'm imagining there must be a way to make it do this on purpose. Some places have suggested resetting the parameter RAM (which I understand is related to NVRAM/EFI variables) or resetting the SMC. I've read that if the batter cycle count is above a certain number, this will happen as well, so I'm willing to manually modify that if that's possible.
Here's my output for
$ efivar -l 8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent 4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14-FirmwareFeatures 8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev 8be4df61-93ca-11d2-aa0d-00e098032b8c-LangCodes 4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14-FirmwareFeaturesMask 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut eb704011-1402-11d3-8e77-00a0c969723b-MTC 8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder 8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000 8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0080 8be4df61-93ca-11d2-aa0d-00e098032b8c-BootFFFF 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev 8be4df61-93ca-11d2-aa0d-00e098032b8c-Lang af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e-AcpiGlobalVariable 8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout 05299c28-3953-4a5f-b7d8-f6c6a7150b2a-SetupDefaults 4dfbbaab-1392-4fde-abb8-c41cc5ad7d5d-Setup e6c2f70a-b604-4877-85ba-deec89e117eb-PchInit