added to the library libacpi to update the status of the battery