resourced - Chrome OS Resource Management Daemon
resourced supports the following 2 D-Bus interfaces for resource management. Check go/resourced for details.
- org.chromium.MemoryPressure - low memory notification API
- When memory pressure is high, notifying subsystems to free memory.
- Method GetAvailableMemoryKB - returns the available memory.
- Method GetMemoryMarginsKB - returns the margin (threshold) for critical and moderate memory pressure.
ChromeOS Config
The following chromeos-config values are supported:
- resource/
- {ac,dc}
- web-rtc-power-preferences/
- fullscreen-power-preferences/
- vm-boot-power-preferences/
- borealis-gaming-power-preferences/
- arcvm-gaming-power-preferences/
- default-power-preferences/
Debugging
You can use the following to call the dbus service:
$ dbus-send --print-reply --system --dest=org.chromium.ResourceManager /org/chromium/ResourceManager org.chromium.ResourceManager.SetRTCAudioActive byte:1
$ dbus-send --print-reply --system --dest=org.chromium.ResourceManager /org/chromium/ResourceManager org.chromium.ResourceManager.GetRTCAudioActive