How to dynamically test the battery current