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

    Power drain, perhaps caused by app Notes

    Scheduled Pinned Locked Moved Support
    13 Posts 5 Posters 641 Views 3 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.
      • bhdouglassB Offline
        bhdouglass
        last edited by

        So you can't technically uninstall the notes app as its part of the rootfs, so what version do you have installed now and what version did you uninstall?

        open-store.io && bhdouglass.com

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          guru @bhdouglass
          last edited by

          @bhdouglass said in Power drain, perhaps caused by app Notes:

          So you can't technically uninstall the notes app as its part of the rootfs, so what version do you have installed now and what version did you uninstall?

          I just clicked the app's icon long, it asked me as for any other app: open or uninstall and I clicked the latter and the icon went away. I don't see the app anymore, please let me know if I should look for it in the file system and explain to me why I can't uninstall it. Thx

          1 Reply Last reply Reply Quote 0
          • G Offline
            Giiba
            last edited by

            UT has a read only root file system, that has a version of the notes app baked in. This means you can upgrade to newer versions, but when you 'uninstall' a system app, I think what happens is the app is downgraded to the baked in version.

            Is there still an icon in the app drawer?

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              guru @Giiba
              last edited by

              @Giiba said in Power drain, perhaps caused by app Notes:

              UT has a read only root file system, that has a version of the notes app baked in. This means you can upgrade to newer versions, but when you 'uninstall' a system app, I think what happens is the app is downgraded to the baked in version.

              Is there still an icon in the app drawer?

              No, there is no icon of the notes app anymore; and btw: since 10 hours the battery is at 59% πŸ™‚
              Can I query somehow for the notes in the terminal window? And no, my system root is not mounted writable.

              1 Reply Last reply Reply Quote 0
              • LuksusL Offline
                Luksus
                last edited by

                Just tried to uninstall notes app - its possible. (on Halium)

                Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Giiba
                  last edited by

                  Interesting... I wonder what 'uninstall' is actually doing?

                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    guru @Giiba
                    last edited by guru

                    In addition (and maybe the problem is more complex): This night I had a power drain again and caught a dekko proc which does in a loop every second this:

                     root@ubuntu-phablet:/home/phablet# ps ax | grep dekko
                     3263 ?        Ssl    0:24 /opt/click.ubuntu.com/dekko2.dekkoproject/current/lib/arm-linux-gnueabihf/bin/plugins/notify/dekkod-notify
                     7362 pts/52   S+     0:00 grep --color=auto dekko
                    root@ubuntu-phablet:/home/phablet# 
                    root@ubuntu-phablet:/home/phablet# 
                    root@ubuntu-phablet:/home/phablet# strace -s 256 -p 3263
                    strace: Process 3263 attached
                    restart_syscall(<... resuming interrupted poll ...>) = 0
                    clock_gettime(CLOCK_MONOTONIC, {31508, 110627514}) = 0
                    clock_gettime(CLOCK_MONOTONIC, {31508, 111023129}) = 0
                    stat64("/home/phablet/.config/dekko2.dekkoproject/tmp", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
                    socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
                    connect(4, {sa_family=AF_LOCAL, sun_path="/home/phablet/.config/dekko2.dekkoproject/tmp/qcop-server-0"}, 110) = -1 ENOENT (No such file or directory)
                    close(4)                                = 0
                    write(2, "void QCopClient::connectToServer() QLocalSocket::ServerNotFoundError \"QLocalSocket::connectToServer: Invalid name\"\n", 115) = 115
                    clock_gettime(CLOCK_MONOTONIC, {31508, 122487283}) = 0
                    clock_gettime(CLOCK_MONOTONIC, {31508, 124085668}) = 0
                    poll([{fd=3, events=POLLIN}], 1, 999)   = 0 (Timeout)
                    
                    flohackF 1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack @guru
                      last edited by

                      @guru Yes unfortunately dekkod is known to enter a busy-waiting loop when it cannot reach any network resources from the accounts - do you turn off your internet over night?

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      G 2 Replies Last reply Reply Quote 0
                      • G Offline
                        guru @flohack
                        last edited by

                        No, only Wifi as I said begining this thread. Stanislav Lem: Niemand liest etwas, wer etwas liest, versteht es nicht, wer es versteht, vergisst es wieder πŸ™‚

                        flohackF 1 Reply Last reply Reply Quote 0
                        • flohackF Offline
                          flohack @guru
                          last edited by

                          @guru You wrote this night, I wanted to know if that might have been a special night or not. But, regardless of whats the WiFi state, dekkod freaks out a bit when there are connection issues, yes. I hope someone can fix this soon. It would be good to report this in the dekkod tracker in case its not there yet.

                          Also, even if a process makes a query every 5 minutes this could prevent the phone from entering deepsleep as it creates wakelocks. Background activity is a fragile topic on mobile devices.

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            guru @flohack
                            last edited by

                            @Flohack said in Power drain, perhaps caused by app Notes:

                            @guru Yes unfortunately dekkod is known to enter a busy-waiting loop when it cannot reach any network resources from the accounts - do you turn off your internet over night?

                            Btw, the looping/polling proc was not dekkod but dekkod-notify. Looks like a concept flaw polling every second.

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