伪造笔记本电脑中的电池信息
如何伪造笔记本电脑中的电池信息?
我正在开发一种工具,它必须伪造笔记本电脑电池的电量。
这意味着该工具必须强制电池或笔记本电脑在充电良好时报告低电量。
有没有任何框架或驱动程序可以帮助我做到这一点?
我们有支持此功能的电池固件吗?
我真的找不到这个问题的解决方案,非常感谢任何帮助。
提前致谢。
注意:编程语言并不重要。
How one can fake the battery info in the laptop?
I am working on a tool that must fake the power of the battery in my laptop.
This means that the tool must force the battery or laptop to report low power while its charged well.
Is there any framework or driver that can help me to do this?
Do we have the firmware of the battery to support this functionality?
I really can't find a solution for this problem, any help is so appreciated.
Thanks in advance.
Note: the programming language does not matter.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
构建一个在系统托盘中显示低电量图标的应用程序。
Build an application that shows a low battery icon in the System Tray.
您正在询问如何模拟/存根某些东西。我会使用模拟或存根。
所以
new MyFirstPowerMonitor(new AcpiBatteryLevelReader()) - 主程序
new MyFirstPowerMonitor(new ProgrammableBatteryLevelReader()) - 使用您可以控制的东西。< /p>
确实如此。
You are asking about how to mock/stub something. I would use a mock or stub.
so
new MyFirstPowerMonitor(new AcpiBatteryLevelReader()) - main program
new MyFirstPowerMonitor(new ProgrammableBatteryLevelReader()) - to use something you can control.
thats it really.