battery: add unstable power detection switch to charger controls [AndreiLux]