add battery support
add support for temperature