UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Shake for flashlight

    Scheduled Pinned Locked Moved OS
    suggestionfeature
    12 Posts 6 Posters 1.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • L Offline
        lsitongia @kugiigi
        last edited by

        @kugiigi Two of the Motorola phones I've had use serveral acceleration gestures. For the flashlight it is two hacking motions. Two wrist twists opens the camera.

        L 1 Reply Last reply Reply Quote 2
        • L Offline
          Laktosefreier @lsitongia
          last edited by

          @lsitongia That would require some kind of pre-wake mode with permissions that the gyro sensor triggers with a specific motion. It might also need permission for camera without unlocking, since those two are usually linked.

          The power button way should be easier to implement since the gyro sensor doesn't need to be active all the time, draining battery or worse, preventing deep sleep. Standby time is often an issue, I guess we should not wake the sleeping bear 😉

          The people behind LineageOS solved this by pressing the power button for 2 seconds, not even activating the screen, therefore additionally saving that little bit of battery.

          Pixel 3a XL (20.04)

          AppLeeA 1 Reply Last reply Reply Quote 2
          • AppLeeA Offline
            AppLee @Laktosefreier
            last edited by

            Hi @laktosefreier

            There is already a nice implementation to fast access the flashlight in Ubuntu Touch.
            Why go to the trouble to change that?
            The cost to benefit does not make it worth the effort.

            Maybe someone obsessed with this topic may invest time to implement something but I doubt it will be helpful for a wider audience and I doubt it will ever be integrated officially as the work required to satisfy the requirement for it is improbable.

            L 1 Reply Last reply Reply Quote 1
            • L Offline
              Laktosefreier @AppLee
              last edited by

              @applee said in Shake for flashlight:

              There is already a nice implementation to fast access the flashlight in Ubuntu Touch.

              I found an app in the Open Store and installed it, pinned a shortcut to the bar.
              What other fast access is there? I haven't found it yet.
              The flashlight switch from the status bar Battery doesn't work.

              Pixel 3a XL (20.04)

              PhoenixLandPiratP 1 Reply Last reply Reply Quote 1
              • PhoenixLandPiratP Offline
                PhoenixLandPirat @Laktosefreier
                last edited by

                @laktosefreier said in Shake for flashlight:

                The flashlight switch from the status bar Battery doesn't work.

                Have ou tried it in the last 3 days?

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  Laktosefreier @PhoenixLandPirat
                  last edited by

                  @phoenixlandpirat
                  Yes. It is not working. The app uTorch works, however.
                  There are a few little things that prevent me from using ubports as a daily driver.
                  I tried receiving files on it via Bluetooth, instead the Pixel turned into a Bluetooth speaker for the sending device 😄

                  Pixel 3a XL (20.04)

                  PhoenixLandPiratP K 2 Replies Last reply Reply Quote -1
                  • PhoenixLandPiratP Offline
                    PhoenixLandPirat @Laktosefreier
                    last edited by

                    @laktosefreier it was fixed on the FairPhone a few days ago, thought the same fix applied to all devices.

                    I had that as well, in time itll all come.

                    K 1 Reply Last reply Reply Quote 0
                    • K Offline
                      kugiigi @Laktosefreier
                      last edited by

                      @laktosefreier You'll have to use the Bluetooth transfer app for that. Haven't tried in a long time though so not sure if it's still working. The reviews isn't promising 😅

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kimo @PhoenixLandPirat
                        last edited by

                        @phoenixlandpirat
                        flashlight has been fixed and it is working on p3a xl dev

                        L 1 Reply Last reply Reply Quote 2
                        • L Offline
                          Laktosefreier @kimo
                          last edited by

                          @kimo said in Shake for flashlight:

                          @phoenixlandpirat
                          flashlight has been fixed and it is working on p3a xl dev

                          I changed the update source to development and yes, it works 🤗 thanks

                          Pixel 3a XL (20.04)

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post