Tizen 2.3 and later tips and tricks - part 1
Check out the date on this baby!!
This content was originally published a while ago and could be quite outdated.
Below are some tips and tricks for the Tizen platform OS, version 2.3 (should work on all versions up, including 3.0).
Battery info
Get info about current battery capacity (charging level):
$ cat /sys/class/power_supply/battery/capacity
100
The battery capacity should be between 1
and 100
, min and max. You can find out all kind of information about the battery in your device, by cat
-ing the files inside the /sys/class/power_supply/battery/
directory. For example:
$ cat /sys/class/power_supply/battery/status
Full
CPU governor
$ echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Or, if you want to preserve battery live at the expense of the performance, use this:
$ echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
To find out the current governor CPU state, use:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Format SD card
First, remove the initial vfat
partition and create an ext3
one instead.
$ parted /dev/mmcblk1 rm 1
$ parted -a optimal /dev/mmcblk1 mkpart primary ext3 0% 100%
$ mkfs.ext3 /dev/mmcblk1p1