fixed bug regarding not working nitification on plugged in charger