code: public static boolean acquireLock(Context context) {
  
          if (wl != null && wl.isHeld()) {
              return true;
          }
  
          powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
          wl = powerManager.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG);
          if (wl == null) {
              return false;
          }
  
          wl.acquire();
  
          return wl.isHeld();
      }
docs: if the keep light has been opened, will default exit.
  
  @param context