Android Question Schedule power on and power off

Discussion in 'Android Questions' started by Mark Ryan Penafiel, Apr 6, 2015.

  1. Mark Ryan Penafiel

    Mark Ryan Penafiel Member Licensed User

    Good day,

    In the phone settings, there is a schedule power on and power off. However its allowed only one time.
    Is there a way to code to turn off a phone when a time arrives and turn on it on when a time arrives.

    ex
    turn off: 11:45 pm, 5:45pm . 11:45 am . 5:45 am
    Turn on: 12 mn, 6 am, 12 nn, 6pm

    thank you
     
  2. Peter Simpson

    Peter Simpson Expert Licensed User

    Wait a minute, am I reading this correctly. You want the phone to power itself on from being completely off what a set time is reached, is that correct?
    An actual auto power on/off setting, what phone is this on?
     
  3. Mark Ryan Penafiel

    Mark Ryan Penafiel Member Licensed User

    Yes, I want an app that will turn off the phone, and turn it on again based on the schedule set. This is like the "scheduled power on off" on the setting menu of android phone under system (see attached file). however this limited only to two time range only. I want to create a multiple time scheduled power on and off
     

    Attached Files:

  4. DonManfred

    DonManfred Expert Licensed User

    This seems to be a device (or manufacturer) specific feature. Or maybe it is an custom rom and it is a feature the custom-rom-author built in

    It is not standard in android. So i guess there is no known way to extend it. You need to ask the "Author" of this rom for an sdk to use
     
  5. Mark Ryan Penafiel

    Mark Ryan Penafiel Member Licensed User

    I see, thanks. How about atleast, programtically restart the device
     
  6. Peter Simpson

    Peter Simpson Expert Licensed User

    This option is mainly found in Lenovo and HTC only devices.
     
  7. NJDude

    NJDude Expert Licensed User

    That's not a standard feature, however, it might be possible to schedule the on/off via an intent.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice