Data is stored in a sqlite database which is located in the file /home/user/.BatteryGraph/BatteryGraphDB.sqlite Currently the database is not cleaned automatically. In the next version of BatteryGraph you will be able to limit the maximum age of records in the database.