widget with free ram

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
Posts: 106
Joined: 13 Sep 2013 10:27

widget with free ram

Post by holymoz » 18 Sep 2013 07:35

hi, I post this flows that create a widget that show the amount of free ram on the device.
the active flow is the 2, every 5 seconds it extracts from the file /proc/meminfo only the numeric value of memfree and cached memory (thanks to the script by bobchernow), add them and send the result to var global_totalfree, then I created the widget with this value.
the flow 0 & 1 enable/disable the flow 2 only when home screen is shown/not to save CPU cycles and battery.
WARNING: in the flows 0&1 replace the app in the triggers with the own launcher app.
(14.29 KiB) Downloaded 649 times

Post Reply