Boniface the Lion 2023년 12월 29일 오전 8시 27분
PC Auto Shutdown
!st of all sorry for posting it here, I tried to post it at reddit but for some reason it barely gets any attention, maybe here someone is willing to help.

I like to watch videos in the bed and sometimes I fall asleep, only to find out in the morning that the PC is still running and playing videos.
I am looking to setup my PC so it automatically turn off past specific time in the night and, if possible, turn off after some mouse idle time.
Ideally the idle rule would work all the time so if during the day I AFK for, let's say, 30min the PC turns off. During the night it would ask to shutdown at 1AM, 2AM and 3AM if no answer auto turn off.
I tried to setup it in the task manager but it doesn't work like it should, the idle timer doesn't want to turn off the PC and if I setup the task to shutdown past specific time it will shutdown without confirmation. I hope I made myself clear.
Does any one know a good way to do it or can make a simple script to achieve it?
< >
6개 댓글 중 1-6개 표시
crunchyfrog 2023년 12월 29일 오전 8시 51분 
Windows settings.

Power Saving. Get the thing to shutdown after a certain period of inactivity. Say 30 minutes.

Although be warned, if you're doing this with a lappy on your bed, you might find that it wakes up if you brush the mouspad or something.

But it should help.

What I would suggest more is to be careful and maybe instead get a side table and use that as you REALLY don't want to have the laptop airflow compromised by bedding. It's a great way to kill it.
crunchyfrog 님이 마지막으로 수정; 2023년 12월 29일 오전 8시 52분
Boniface the Lion 2023년 12월 29일 오전 9시 00분 
crunchyfrog님이 먼저 게시:
Windows settings.

Power Saving. Get the thing to shutdown after a certain period of inactivity. Say 30 minutes.

Although be warned, if you're doing this with a lappy on your bed, you might find that it wakes up if you brush the mouspad or something.

But it should help.

What I would suggest more is to be careful and maybe instead get a side table and use that as you REALLY don't want to have the laptop airflow compromised by bedding. It's a great way to kill it.

The problem is that when playing video it doesn't count as inactivity also it's not a lappy but a TV, I would never fall asleep with a lappy in a bed. All this is more for power saving reasons.
crunchyfrog 2023년 12월 29일 오전 9시 06분 
Mony Tontana님이 먼저 게시:
crunchyfrog님이 먼저 게시:
Windows settings.

Power Saving. Get the thing to shutdown after a certain period of inactivity. Say 30 minutes.

Although be warned, if you're doing this with a lappy on your bed, you might find that it wakes up if you brush the mouspad or something.

But it should help.

What I would suggest more is to be careful and maybe instead get a side table and use that as you REALLY don't want to have the laptop airflow compromised by bedding. It's a great way to kill it.

The problem is that when playing video it doesn't count as inactivity also it's not a lappy but a TV, I would never fall asleep with a lappy in a bed. All this is more for power saving reasons.
FAir enough - I wasn't sure so I made sure to caution against it (there may be others who read this that applies to).

If it doesn't register as videos keep playing, I'm not sure what to suggest as I don't tend to mess around too mcuh these days with power saving.

Maybe try adjusting your habits a bit instead? Try preparing videos BEFORE you go to sleep with your own playlist so they actually do run out?

I often do this with listening to music while in bed. I'll set an ipod or minidisc player to play certain tracks and switch itself off after a certain time knowing I'll be asleep before then.
crunchyfrog 님이 마지막으로 수정; 2023년 12월 29일 오전 9시 07분
Spawn of Totoro 2023년 12월 29일 오전 9시 07분 
As I said in your other, deleted thread (form Suggestions/Ideas):

Windows only allows for a sleep or sleep type mode, not a complete off state.

You will need to go to "Edit Power Plan" or "Power Options" in windows.



This is the closest I could find, but not what you are asking for.
https://www.c-sharpcorner.com/article/how-to-schedule-automatic-shut-down-in-windows-10/

I highly suggest picking one thread, instead of spamming the same question in multiple forums.
Spawn of Totoro 님이 마지막으로 수정; 2023년 12월 29일 오전 9시 10분
Boniface the Lion 2023년 12월 29일 오전 9시 15분 
crunchyfrog님이 먼저 게시:
Mony Tontana님이 먼저 게시:

The problem is that when playing video it doesn't count as inactivity also it's not a lappy but a TV, I would never fall asleep with a lappy in a bed. All this is more for power saving reasons.
FAir enough - I wasn't sure so I made sure to caution against it (there may be others who read this that applies to).

If it doesn't register as videos keep playing, I'm not sure what to suggest as I don't tend to mess around too mcuh these days with power saving.

Maybe try adjusting your habits a bit instead? Try preparing videos BEFORE you go to sleep with your own playlist so they actually do run out?

I think I found a partial solution for now, "SleepTimer" you can set a countdown for idle time and every time you move your mouse or use the keyboard it resets also starts automatically with Windows only problem is that if force shutdown without confirmation but it will do for now.
Thank you for your suggestions friend!
crunchyfrog 2023년 12월 29일 오전 9시 27분 
Mony Tontana님이 먼저 게시:
crunchyfrog님이 먼저 게시:
FAir enough - I wasn't sure so I made sure to caution against it (there may be others who read this that applies to).

If it doesn't register as videos keep playing, I'm not sure what to suggest as I don't tend to mess around too mcuh these days with power saving.

Maybe try adjusting your habits a bit instead? Try preparing videos BEFORE you go to sleep with your own playlist so they actually do run out?

I think I found a partial solution for now, "SleepTimer" you can set a countdown for idle time and every time you move your mouse or use the keyboard it resets also starts automatically with Windows only problem is that if force shutdown without confirmation but it will do for now.
Thank you for your suggestions friend!
Sorry I was not of more help frankly. Hope it works out for you.
< >
6개 댓글 중 1-6개 표시
페이지당 표시 개수: 1530 50

게시된 날짜: 2023년 12월 29일 오전 8시 27분
게시글: 6