battery: fix definitions