Update battery info and add events listeners.