Battery Function & checking process