# Logging Battery Information

Source: https://forum.modalai.com/topic/501/logging-battery-information
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: m500
Posted: 2021-10-15 13:30:55 UTC by PawelJ
Replies: 1 · Views: 685

## PawelJ · 2021-10-15 13:30:55 UTC

Hi all,

I was wondering if there was anything already in place to log the battery information from `voxl-inspect-battery` to a file. There doesn't seem to be any options to do something like this listed under the `-h` help flag like I've noticed with a few of your other packages.

Cheers,

Pawel

## Reply by Chad Sweet (ModalAI staff) · 2021-10-20 16:13:39 UTC

No, but the code for that utility can be found [here](https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-mpa-tools/-/blob/master/tools/voxl-inspect-battery.c), seems like a great feature to add!

Also, QGroundControl likely logs that same information
