autopoweroff: fixing patch.