Nokia N900: Command line tips

#1

Get battery state from command line:

Start xterminal and write: lshal|grep battery

after that you should get a lot’s of line about batter but line “battery.charge_level.percentage” is what you want to find.

Of course you could just write lshal|grep percentage

and then you get line “battery.charge_level.percentage = 40 (0x28) (int)” which means that my battery stat is 40%

#2

Quickly remove everything from your calendar

Just remove /home/user/.calendar/calendardb file with rm command.