-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
xDrip may not make a sound if the alert sound file is too short #2153
Comments
As explained in the discussion thread 2133, I did new tests during the past week and the issue actuallty doesn't seem to be related to the high or low alert category: " So it seems to be related with the alarm sound, maybe at night when my phone is unused for a long time only a long alarm is able to "activate" it again? (I'm not at all an expert on Android so I'm very speculative here...) It's also not a critical issue for me anymore as I found a workaround for me. Thanks for everyone that spent some time on this issue to help me. |
@lfagotbouquet Thanks for reporting this and figuring out what was causing it. If you select the short alert that does not work, will it sound if you tap on "Test Alert" on the "Edit Alert" page? |
If I'm tapping the "Test Alert" on the Edit page with the short alarm, my phone sounds and vibrates correctly. |
Please check the behavior on the latest nightly as there have been quite a few changes in this area since the reported version. |
@lfagotbouquet We need feedback from you. Without it, we have no choice but to assume there is no problem any longer. |
Ah sorry for the delay, I missed the previous message. I'm not using anymore the very short alert that was causing the issue but I'm going to try the short alarm again with the lastest code version to check if the issue is corrected. |
@lfagotbouquet I am sorry about that. Please do NOT intentionally degrade your control just to cause an alert. That's not what I meant. Just in case I have stated anything that may have suggested that, please always focus on perfectly controlling your diabetes. Anyone asking you to do otherwise for the sake of an app, is wrong. |
Ah thanks for your warning but I'm just going to add an very short alert at a level slightly below my usual alert (keeping both). In the end it's not going to impact my control to cause an alert, and it's not going to raise an alert for nothing. |
I try to reproduce the issue with the last stable version (344deb4-2022.11.16) using the very short "BeeBeep Alarm" sound for a High alert and I'm still having the issue. Anyway I'm not using this short alarm anymore so it's not a critical issue for me now. |
@lfagotbouquet Would you mind editing the title of this issue to reflect what you have found? xDrip may not make a sound if the alert sound file is too short. |
Subject of the issue
High glucose level alerts are not generating any sound or vibration at night while it is working fine for low glucose level alerts.
Discussion related to this issue:
#2133
Your environment
Xdrip version: 33be05a-2022.01.31
Hardware data source: libre 2
Device: Motorola one (android 10)
Settings: high and low alerts configured similarly with a sound and vibration (and the override silent mode option selected)
Expected behavior
I expect the high level glucose alert to emit a sound and vibration during the night, like it is the case for the low level alert.
The high level alerts can be seen in the xdrip log and are reraised every one minute for several hours (as no sound or vibration is waking me up they are never snoozed)
Ideally the high level glucose alert should behave in the same way as the low level alerts in my case during the night and produce a sound.
Please note that the high level alert are working fine during the day and are generating a sound when I turn on the screen in the morning.
I also checked that notification settings are correct and no battery optimization or no disturbing mode is activated.
Actual behavior
The high level alerts are not generating a sound or vibration during the night, while it is the case for low level alerts.
High level alerts are only starting to emit a sound when I turn on the screen when I wake up.
Steps to reproduce the behavior:
Configure a high level alert and wait for an hyperglycaemia during the night.
Check the xdrip log to see that a high level alert is raised frequently and never snoozed.
Screenshots
Please find below an example of a xdrip log with a low level alert correctly snoozed during the night and a high level alert that is no generating any sound or vibration and hence is logged every minute.
The text was updated successfully, but these errors were encountered: