change argument to give low memory and battery status properly