fix battery current capacity and full behavior