Updated with spincycle code from neobatt; fiddle with brightness to save power