libacpi fixes for battery status