When you first try compiling and uploading the code, you may find that you need to install a low power library to finish compiling.

It can be downloaded from here:

https://github.com/rocketscream/Low-Power