I want to disable the back action key when my smart extension is in Power Save Mode, that means the display is dimmed after several seconds but the control extension remains on. When it is not in Power Save Mode the back action key should work again.
I tried to figure out how to check the current POWER SAVE MODE, but couldn't manage it. When the control switches to Power Save Mode LogCat says:
onReceive: com.sonyericsson.extras.aef.control.ACTIVE_POWER_SAVE_MODE_STATUS_CHANGED
The API also says that there are following allowed values: ACTIVE_POWER_SAVE_MODE_OFF and ACTIVE_POWER_SAVE_MODE_ON
Does anyone know how to check the current Power Save Mode state?
I would then check the current display state in onKey()-method and decide whether back action key should react or not.
Many thanks in advance.