When Im not using the laptop, after a few min, the screen will dim. Returning after >15 min and waking the laptop, the wifi needs to reconnect to my wifi hotspot. How can I keep wifi connected indefinitely using Terminal?
Some related articles that I didnt find helpful:
Prevent iMac from sleeping, for VPN login?
Prevent MacBook Pro from going to sleep
$ pmset -g
System-wide power settings:
Currently in use:
standbydelay 4200
standby 1
halfdim 1
hibernatefile /var/vm/sleepimage
powernap 0
disksleep 10
sleep 10
autopoweroffdelay 28800
hibernatemode 3
autopoweroff 1
ttyskeepawake 1
displaysleep 1
acwake 0
lidwake 1
sh-3.2# system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 10.13.4 (17E199)
Kernel Version: Darwin 17.5.0
Boot Volume: lily
Boot Mode: Normal
Computer Name: lily’s MacBook Air
User Name: System Administrator (root)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 2:03
pmset -g
)? – Allan May 12 '18 at 22:50pmset -g
output – lily May 13 '18 at 03:00