widget with free ram

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
holymoz
Posts: 113
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.
Attachments
exported_data_20130919_095327.xml
(14.29 KiB) Downloaded 1239 times

Post Reply