implemented a lot more methods

for the battery