battery API,
writing log file and CSV