Fixed all bugs

now it's stable
missing permission
fix battery