When snapmaker luban is open, it prevents sleep on MacOs - screenshot of activity monitor.
This happens as soon as snapmaker is opened.
I am running MacOS Sequoia 15.3.1
I cannot find any solutions but did find a mention of this back in 4.5.0 Luban V4.5: Known Issues & Corresponding Solutions - #16 by darien but no solution..
Here is a screenshot from activity monitor:
A working solution is presented here:
âŠbut doesnât this make sense, at least if you have a print job running?
Print job technically doesnât matter if the PC/Mac goes to sleep. Luban transfers the file to the machine to start it, then basically just requests updates every second. It doesnât actively stream gcode to the snapmaker, itâs actually running the code locally.
Depends if connected via wifi or usb cable.
It prevents sleep regardless. Even with just the home screen open.
I personally never run any print from my machine, I always transfer to device. So this is just a bug IMHO
Thanks, Iâll taie Ă look as if I can just have a local build to fix this Iâd be fine for a while. Not looked at Lubans build process etc, but will do, appreciate the pointer!
You donât need a separate build. Just locate and edit the text-based config file mentioned: Locate your Snapmaker Luban.app in the Applications folder, right/ctrl-click and Show Package Contents, navigate to Resources/app/src and edit main.js. I found the âpowerIdâ definition around line 717. Save these notes if you need to modify future versions.
Ah - much easier! Commenting out that line did the trick, thanks again for the help