staging: android: lmk: check free memory when tasks switch to background