MemoryOPT-1.2.0-stable
1.2.0-stable
Deep Sleep Fix
- Replaced blocking thread::sleep with async tokio::time::sleep in Rust backend
- App no longer prevents Android from entering Doze mode
- Significantly reduced battery consumption during idle
App Lifecycle Awareness
- Timer automatically pauses when app goes to background
- Timer resumes when app returns to foreground
- Proper cleanup on app disposal
- Running Packages Caching
- Added 10-second TTL cache for running packages
- Reduced shell command executions by ~90%
- Cache automatically invalidates when apps are stopped
WorkManager Integration
- Added Android WorkManager for periodic background maintenance
- Runs every 15 minutes (minimum Android interval)
- Fully respects Android Doze mode and battery optimization