try {
// Start the load average overlay, if activated
ContentResolver res = context.getContentResolver();
if (Settings.Global.getInt(res, Settings.Global.SHOW_PROCESSES, 0) != 0) {
Intent loadavg = new Intent(context, com.android.systemui.LoadAverageService.class);
context.startService(loadavg);
}
} catch (Exception e) {
Log.e(TAG, "Can't start load average service", e);
}