I find my Surface only gets about 1.5 hours of battery life from a full charge in macOS. I've done the best I can to disable spotlight, turn on low power mode, etc, but it's still sipping quite a bit of juice.
I do have scripts that turn turbo mode on and off, and I believe having turbo on is the thing that uses the most power. I'm wondering if this has to do with CFG lock?
# pass 0 to disable, anything else to enable
function toggleturbo() {
if [ "$1" -eq "0" ]
then
echo Disabling turbo mode
sudo /Library/Application\ Support/VoltageShift/voltageshift turbo 0
else
echo Enabling turbo mode
sudo /Library/Application\ Support/VoltageShift/voltageshift turbo 1
fi
}
# pass 0 to disable, anything else to enable
function undervolt() {
if [ "$1" -eq "0" ]
then
# Turbo off
echo Undervolting with turbo off
cd /Library/Application\ Support/VoltageShift/
sudo ./voltageshift buildlaunchd -120 0 0 0 0 0 0 28 18 0.002 60
else
# Turbo on
echo Undervolting with turbo on
cd /Library/Application\ Support/VoltageShift/
sudo ./voltageshift buildlaunchd -120 0 0 0 0 0 1 28 18 0.002 60
fi
}