finder-iconA Mac is like any other computer, sometimes things just go wrong without a good reason. Besides some basic troubleshooting steps, here are a couple of things you can try if you’re having issues related to each.

Reset NVRAM

NVRAM is non-volatile random-access memory which stores information such as Speaker volume, Screen resolution, Startup disk selection, and Recent kernel panic information. If you’re having an issue with any of these, then clearing your NVRAM might resolve your issues.

– Shut down your Mac.
– Locate the following keys on the keyboard: Command (⌘), Option, P, and R.
– Turn on your Mac.
– Press and hold the Command-Option-P-R keys immediately after you hear the startup sound.
– Hold these keys until the computer restarts and you hear the startup sound for a second time.
– Release the keys.

After resetting the NVRAM, you may have to reconfigure some of the settings for the above.

For more information, see this Apple Support Article.

Reset System Management Controller SMC

If you’re having any issues with the following, then you can try to reset your SMC:
Responding to presses of the power button
Responding to the display lid opening and closing on portable Macs
Battery management
Thermal management
The SMS (Sudden Motion Sensor)
Ambient light sensing
Keyboard backlighting
Status indicator light (SIL) management
Battery status indicator lights
Selecting an external (instead of internal) video source for some iMac displays

Reset NVRAM on Macbooks

If the battery is nonremovable
-Shut down the Mac.
-Plug in the MagSafe or USB-C power adapter to a power source and to your Mac.
-Using the built-in keyboard, press Shift-Control-Option on the left side of the keyboard, then press the power button at the same time.
-Release all keys, then press the power button again to turn on your Mac

If the battery is removable
-Shut down the Mac.
-Disconnect the MagSafe power adapter from the Mac.
-Remove the battery. (Learn about removing the battery in MacBook and MacBook Pro computers.)
-Press and hold the power button for 5 seconds.
-Reconnect the battery and MagSafe power adapter.
-Press the power button to turn on the Mac.

For more information, see this Apple Support Article.