Windows CE 设备随机关闭
我有一个在 Windows CE 上运行的触摸屏设备。 30 秒后,屏幕会关闭以节省电量,触摸屏幕后屏幕会重新显示。
问题是,当屏幕随机关闭时,设备将无法通过触摸屏幕重新打开。我已经完成了一系列测试,并且没有明显的模式来说明这种情况何时发生。
它似乎正在执行与按主菜单中的暂停按钮时相同的操作。
我做了一些研究,发现注册表中有 4 个省电设置,我想我需要禁用其中一个来阻止设备“挂起”。我从来不希望设备关闭,除了屏幕关闭之外,它始终连接到电源。
有谁知道我该怎么做或者为什么它会随机暂停?
整个设备都是中文的,所以非常精确的说明将不胜感激。我的应用程序运行在 CE 之上。
I have a touch screen device that is running on windows CE. after 30 second the screen goes off to save power and will come back on it you touch it.
The problem is that randomly when the screen goes off the device will not come back on simply by touching the screen. I have a done a bunch of tests and there is no noticeable pattern to when this happens.
It appears to be performing the same action as when you press the suspend button from the main menu.
I have done some research and found there are 4 power saving settings in the registry and I think I need to disable one to stop the device from "suspending". I never want the device to turn off except for the screen going off, it is always connected to power.
Does anyone know how I can do this or why it is randomly suspending ?
And the entire device is in Chinese So really precise instructions would be appreciated. My application runs on top of the CE.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道你想要精确的指示,但事情没那么简单。设备OEM定义并实现了设备的电源管理系统,微软仅提供了其结构。 OEM 可以按照他们寻求合适的任何方式实现电源管理,事实上他们可以完全忽略 Microsoft 提供的框架(这不是 OEM 第一次这样做)。实际上,您需要联系 OEM 并询问他们如何防止您所看到的行为或获得不同的东西。
除此之外,您始终可以使用注册表项,但同样,不能保证它们中的任何一个都能工作。您可以考虑调整电源状态或活动计时器注册表项。
使用电源管理器控制面板小程序也可能有所帮助(它可能标记为电源管理)
I know you're after precise instructions, but it's not that simple. The device OEM defined and implemented the power management system for the device, Microsoft only provided the structure for it. The OEM could have implemented power management in any way they sought fit,, and in fact they could have completely ignore the Microsoft-provided framework (wouldn't be the first time an OEM did that). Really you need to get a hold of the OEM and ask them how to prevent the behavior you're seeing or to get something different.
Barring that, you could always play around with the registry entries, but again, there's no guarantee any of them will work. You might look at adjusting power state or the activity timer registry entries.
Playing with the power manager control panel applet might also help (it's probably labelled 电源管理)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
“BattSuspend”=双字:0
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
"BattSuspend"=dword:0