broadcast receiver integrated with batterymanager