How do I prevent matlab from preventing sleep in Windows 10 on battery?

8 ビュー (過去 30 日間)
Andrew
Andrew 2019 年 4 月 23 日
コメント済み: Dan Caughran 2022 年 2 月 18 日
Whenever I have Matlab open and I undock my laptop, it never goes to sleep even though my power plan should put it to sleep after 10 minutes.
When I enter powercfg -requests in the command prompt, it tells me Matlab is preventing sleep.
I have tried these two command without success:
powercfg /requestsoverride PROCESS \Device\HarddiskVolume3\MATLAB\R2018b\sys\jxbrowser-chromium\win64\chromium\jxbrowser-chromium.exe SYSTEM
powercfg /requestsoverride PROCESS jxbrowser-chromium.exe SYSTEM
  1 件のコメント
Stephen Wilson
Stephen Wilson 2019 年 4 月 26 日
This is not just a problem on Windows. I'm running 2019a on Linux (Ubuntu 18.04). For me too, jxbrowser-chromium blocks sleep. I can see evidence for this as follows:
dbus-send --print-reply --dest=org.freedesktop.PowerManagement /org/freedesktop/PowerManagement/Inhibit org.freedesktop.PowerManagement.Inhibit.GetInhibitors
method return time=1556284466.751250 sender=:1.24 -> destination=:1.3215 serial=11394 reply_serial=2
array [
string "/home/myusername/.matlab/R2019a/HtmlPanel/glnxa64/chromium/jxbrowser-chromium"
]
I thought this might be caused by the help browser, but it happens even if I haven't run help in the session.
Please fix, Mathworks!

サインインしてコメントする。

回答 (1 件)

Rishabh Gupta
Rishabh Gupta 2019 年 4 月 30 日
Hi Andrew,
I would suggest you to contact MathWorks Technical Support regarding this issue as it requires further investigation.
  1 件のコメント
Dan Caughran
Dan Caughran 2022 年 2 月 18 日
Has there been any update on this? I'm having the same issue.

サインインしてコメントする。

コミュニティ

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by