Only run snapshots when power adaptor is connected