Symbian 电源状态通知
我有一个使用存储卡的应用程序,当读卡器的电源关闭并再次打开时,我需要执行一些保存/恢复状态操作。 这通常发生在活动一段时间后,手机进入省电模式。 在 Windows Mobile 中,我通过接收系统的电源通知并采取适当的操作解决了同样的问题。 我想知道 Symbian 中是否有类似的消息?
澄清一下,我对交流电缆连接的当前状态、电池电量不感兴趣。 我只想在手机进入睡眠模式之前和唤醒之后收到通知。
谢谢。
I have an application that uses memory card and I need to do some save/restore state operations when the power of the card reader is turned off and on back again. This usually happens after some time of activity and phone goes to a power save mode. In Windows Mobile I solved the same problem by receiving power notifications from the system and take the appropriate action. I would like to know if there is an equivalent of this messages in Symbian?
To clarify, I am not interested in current status of ac cable connected, battery level. I just want to receive notifications before phone goes to sleep mode and after it wakes up.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一种可能性是使用用户不活动计时器,它是设备进入省电模式的刺激因素: 查看诺基亚论坛
One possibility is to use the User Inactivity timer, which is the stimulus for the device dropping to power-save mode: See Forum Nokia