Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8952577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:54:19+00:00 2026-06-15T13:54:19+00:00

When using AlarmManager, Android device can wake up from sleeping at some time. How

  • 0

When using AlarmManager, Android device can wake up from sleeping at some time.

How does Android schedule the wakeup at lower level?

I tried using rtcwake, but it fails with rtcwake: /dev/rtc0 not enabled for wakeup events (if I force rtcwake to proceed and make necessary ioctls I still don’t see the device being woken up on time)

Which syscalls does Android use to set up an alarm and how to do them from console myself?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T13:54:20+00:00Added an answer on June 15, 2026 at 1:54 pm

    Android uses /dev/alarm device to setup alarms that can wakeup the system from suspend state.
    From JNI it can access this device using ioctl. See frameworks/base/services/jni/com_android_server_AlarmManagerService.cpp file.
    Android has exclusive access to this device and from what I understand the interface is available only from Java using AlarmManager service.
    If you need to setup these alarms at java level you can get access to this service using getSystemservice(ALARM_SERVICE), from native it is little tricky, I am also currently having the same issue. I need alarms in a native process and I am using sockets to communicate with java service to schedule alarms. This may not be the answer you are looking for but I would like to share my experience with this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot get some Android devices to wake up using the AlarmManager. Following the
I've been seeing some strange issues using the Alarm manager in Android, despite the
I'm doing one application like raising email intent by time using AlarmManager . In
I have registered my app to send a broadcast at some particular time using
I have an Android application, which makes use of an AlarmManager to schedule events.
I'm using for my Android Service an Handler that reapeat some operation each 60
Is it possible to query the Android AlarmManager for the time of the next
How to create a reminder application from android by using a datepicker and timepicker
I'm trying to start a service using Alarmmanager with pendingIntent. I stuck with Unable
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.