I ran this on the Windows command prompt to disable doze mode as I'm getting no notifications when Samsung Galaxy S25 is locked.
adb shell dumpsys deviceidle disable
All went well, but I couldn't eject the phone as ADB was still in use.
Is there a command I need to run to exit? Or just close the command prompt?