script to notify if battery is low
some changes