power: offmode charging LED support: correct handling if plug and unplug - WIP