To reset all settings to default values you can remove the config file /home/user/.config/BatteryGraph/BatteryGraph.ini To reset the database you can remove the database file /home/user/.BatteryGraph/BatteryGraphDB.sqlite (but then you would probably have to reset your device before the background daemon will record new data). You can also drop the tables from the database with the following commands in a terminal (or only 1 if you want to delete something specific): Code: sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table data" sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table connection" sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table cpu" sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table charging" After that you would only need to run BatteryGraph to automatically recreate the tables. PS the above is untested but should work
sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table data" sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table connection" sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table cpu" sqlite3 /home/user/.BatteryGraph/BatteryGraphDB.sqlite "drop table charging"