revert patch for battery state debug