How to change power mode on Mac to optimize battery performance pmset hibernatemode command

On a Mac, “hibernatemode 3” is the default sleep mode for Mac laptops, where the system stores a copy of memory to the disk while still keeping the memory powered during sleep, while “hibernatemode 25” is a full hibernation mode that completely powers down the memory, resulting in longer battery life but slower wake times; you can only access “hibernatemode 25” through the terminal command “pmset” and it is generally not recommended for most users. 

To see what is your setting, please go to Console and type command: pmset -g

ondrejkrehel@ondrejs-mbp-2 ~ % pmset -g
System-wide power settings:
Currently in use:
standby 1
Sleep On Power Button 1
hibernatefile /var/vm/sleepimage
powernap 1
networkoversleep 0
disksleep 10
sleep 1 (sleep prevented by powerd, sharingd)
hibernatemode 3
ttyskeepawake 1
displaysleep 2
tcpkeepalive 1
lowpowermode 0
womp 0

Change hibernatemode to 25 by command: “sudo pmset hibernatemode 25”. You need sudo as this needs to be done as root.

ondrejkrehel@ondrejs-mbp-2 ~ % pmset -g
System-wide power settings:
Currently in use:
standby 1
Sleep On Power Button 1
hibernatefile /var/vm/sleepimage
powernap 1
networkoversleep 0
disksleep 10
sleep 1 (sleep prevented by powerd, sharingd)
hibernatemode 25
ttyskeepawake 1
displaysleep 2
tcpkeepalive 1
lowpowermode 0
womp 0

The new setting is now 25, and you can always change it back to default value 3 if you think Mac is slow to wake up.