View Single Post
Ronaldo's Avatar
Posts: 682 | Thanked: 208 times | Joined on Jan 2010 @ UK
#50
Originally Posted by jwittema View Post
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
Thank you, i deleted BatteryGraphDB.sqlite last night and RS phone and it worked
__________________
n900 (UK) Global 3.2010.02.8