Battery Friend: Some fixes and new functions