Samsung is not storing battery statistics while charging!?

When i tried to see battery statistic of samsung device it shows as “Samsung won’t store battery info while charging”. But for my development i need to know the battery statistics which samsung uses. Could anyone tell me how to or where to enable for samsung to store battery statistic while charging…