How to test the current when the battery is in use