added methods for retrieving battery and screen status