Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alarm sounds during booting #205

Open
GHNewbiee opened this issue Mar 8, 2021 · 1 comment
Open

Alarm sounds during booting #205

GHNewbiee opened this issue Mar 8, 2021 · 1 comment

Comments

@GHNewbiee
Copy link

GHNewbiee commented Mar 8, 2021

Hi,

The problem (The ugly)

During booting and when alarm time has passed, the alarm immediately starts sounding and for some reason reducing or halt sound function is not yet available that moment.

The solution (The good)
Could you please add a delay option when booting time > alarm set time + safety margin?

For example, I usually set the time at 10:00 hrs LT. Sometimes, I visit a public library at 10:30 hrs LT and switch on my laptop. From the last time, I have forgoten to switch off the speaker. So, during booting the alarm starts sounding and imagine what it follows up!

So, what you can do is before an alarm starts, the app compares the set time with pc time. If the difference is:

  • 0 to "safety margin" (1-2 sec at maximum, it depends how much time the app needs to get the time from the system considering for example heavy load, low memory, swap use, etc.) means that pc is already booted and runs. So, alarm can immediately start since the probability to switch on the laptop at exactly 10:00:00 hrs LT is very very small.
  • if it is greater than that safety margin means that pc has just booted and alarm delays for some time until booting is completed.

The punishment (the bad)
Some days ago, I was kicked off from the library. What a shame! Tia

@White-Owl
Copy link

I second that problem.
Although, I would prefer a different solution: Ignore margin
Boot time > (alarm set time + ignore margin) - do not sound alarm at all.
This "ignore" margin can be (should be) a configurable value.

It would be also nice to have an 'auto-stop' functionality to tied to that 'ignore margin'.
Even if computer is working at the time the alarm starts - I am not necessarily near the desktop and can stop/snooze the alarm. It would be nice to autostop/autosnooze if after 5 minutes of ringing no human reacted to the alarm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants