vicolo-dev / chrono

A modern and powerful clock, alarms, timer and stopwatch app for Android!
GNU General Public License v3.0
412 stars 18 forks source link

Unable to set up auto-start #223

Closed tkx3425 closed 4 months ago

tkx3425 commented 4 months ago

Describe the bug On my Xiaomi phone, the alarm often doesn't ring. So I tried to turn on autostart. But when I click on the card, Chrono tells me "Auto start is not available for your device". What should I do?

To Reproduce Steps to reproduce the behavior:

  1. Go to 'settings'
  2. Click on 'general'
  3. Scroll down to 'reliability'
  4. Click on 'auto start'
  5. See error

Expected behavior Enable auto-start smoothly

Screenshots Screenshot_2024-05-11-23-57-40-440_com vicolo chrono

Screenshot_2024-05-11-23-57-31-501_com vicolo chrono

Smartphone Information

AhsanSarwar45 commented 4 months ago

Its just a message telling you that your device doesn't have autostart setting, so this setting doesn't apply to your device. Just to confirm though, try searching in your device settings for 'autostart' or 'background autostart'. If such a setting exists, let me know. If not, then you have nothing to worry about and alarm not ringing is being caused by other settings like battery optimizations etc. Try following the vendor specific guide for your MiUI version here: https://dontkillmyapp.com/xiaomi.

tkx3425 commented 4 months ago

My device has an auto-launch setting but it doesn't work on Chrono Screenshot_2024-05-12-12-10-55-104_com miui securitycenter_1

CloneWith commented 4 months ago

My device has an auto-launch setting but it doesn't work on Chrono

It's something with your OS version. I'm using MIUI 14.0.10 and can use the card to the settings page.

Auto-start setting page in Chinese

Above is the picture of the auto-start page working properly.

Chrono complains it's unavailable just because it cannot find the proper activity to navigate to. I think this is somewhat similar to #13.

Since you've enabled auto-start manually, alarms should work.

tkx3425 commented 4 months ago

Autostart is turned on, but the alarm clock is delayed. But the alarm clock of this app works normally Screenshot_2024-05-12-22-48-47-231_com miui securitycenter