Hello, I'm porting Android on a platform that doesn't support suspend-to-ram (echo mem >/sys/power/state) but just standby (echo standby >/sys/power/state). I ended up hacking my kernel so that every call to suspend-to-ram becomes a standby request, but I'm wondering how the thing is managed on the Android side. I tried looking in: frameworks/base/services/java/com/android/server/PowerManagerService.java hardware/libhardware_legacy/power/power.c and several other places, but didn't found a clear point where suspend-to-RAM is specified instead of standby (I'm using donut).
Is there a way to set standby as default power save mechanism in Android? Thanks, Diego -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
