added warning notification for low battery