reduce memory usage when app is inactive except for auto mode