2

As someone who would rather use Low Power Mode by default, it would be great to add some flexibility to its functionality.

Being used to the Auto Tab Discard extension, two particular features that are useful include:

  1. Prevent a tab which has playing media from suspending (e.g. YT).
  2. When connection drops, to prevent non-cached tabs from suspending.
  • Vlad replied to this.

    styliac Can you explain the second one? How would Orion detect that a connection dropped and what does it mean non-cached tab?

      Perhaps by running a quick check to to verify there is an internet connection.

      When I mean non-cached, I am referring to whether any retrievable information has been stored from the tab (e.g. where you were on the page, text, images, etc). If you happen to lose internet connect and a tab is then suspended, you won't wont be able to restore it.

      • Vlad replied to this.

        styliac

        Perhaps by running a quick check to to verify there is an internet connection.

        When? Each such check is draining battery, and it defats the prupose of low power mode if frequent.

        When I mean non-cached, I am referring to whether any retrievable information has been stored from the tab (e.g. where you were on the page, text, images, etc). If you happen to lose internet connect and a tab is then suspended, you won't wont be able to restore it.

        Still not clear what this relates to or how we can determine the status.

          Vlad

          When? Each such check is draining battery, and it defats the prupose of low power mode if frequent.

          The check should ideally only be done once, just before suspending the tab. Of course, if this will still strain battery, or there is a better way to approach this then please advise.

          Still not clear what this relates to or how we can determine the status.

          Here is a description related to how Auto Tab Discard works:

          This extension uses the native method (requests that the browser discards a tab), and the browser then handles the process. When such a request is received, the browser stores the tab's data (such as scroll position or HTML, CSS, and JS content) in a binary object and removes it from memory, so there is no activity from the tab anymore. In contrast, other methods for tab discarding involve replacing it with an internal lighter page. However, this approach has several drawbacks. For example, the extension must handle restoring process, and the tab still occupies memory like a lightweight tab. Additionally, the extension manages the crash recovery itself.

            Vlad just another thought - perhaps being able to whitelist sites might be a sensible alternative to point 2 above?

            • Vlad replied to this.

              styliac This is getting hard to follow. I suggest opening two separate issues for your two asks, detailing the ask and its execution. Closing this.

                6 months later
                No one is typing