You are reading a single comment by @user125066 and its replies. Click here to read the full conversation.
  • That looks elegant and simple. How about some control over the timing settings as parameters? Something like :

    try {
      require("gps-settings").setLowPower(upda­te,search);
    } catch (e) {
     // GPS settings not installed
    } 
    

    And a way of reading current state ? ( eg. whether on/off, mode and current settings )

About

Avatar for user125066 @user125066 started