Added test fo power fail, don't copy to pf_state if on battery