Page 1 of 1

widget with free ram

Posted: 18 Sep 2013 07:35
by holymoz
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.