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

    High CPU usage by kworker

    Scheduled Pinned Locked Moved OS
    20 Posts 6 Posters 2.6k 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.
      • U Offline
        uri
        last edited by

        I have uninstalled some apps. DEKKO included... We'll see.

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

          There is a known issue in OTA-18 though not sure if kworker is related. It's closed now and in devel so if you are willing, you can switch to devel and see if the drain is still there or not.

          C BollyB 2 Replies Last reply Reply Quote 1
          • C Offline
            cliffcoggin @kugiigi
            last edited by

            @kugiigi said in High CPU usage by kworker:

            There is a known issue in OTA-18

            Is that true for all UT phones? I assumed it was just my imagination that the battery drained faster since OTA-18 in Nexus 5.

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

              @cliffcoggin Not sure, I don't notice any unusual drain on my Xperia X. It's quite bad as before πŸ˜…

              1 Reply Last reply Reply Quote 1
              • BollyB Offline
                Bolly @kugiigi
                last edited by Bolly

                Thanks @kugiigi,
                The first thing I did was to switch to RC(2021-W30) but as I saw that kworker had the same behavior, I thought that was kworker. Now I see straight lines when the UT is in airplane mode and not in use ! πŸŽ‰πŸŽ‰πŸŽ‰

                screenshot20210806_085948575.png

                I guess kworker has a similar behavior to SchrΓΆdinger's cat:
                When the mobile is locked and you are connected by ssh its consumption skyrockets. I guess when you are not connected by ssh there is no consumption, otherwise the battery would not last so long.

                2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                2020-Now : PinePhone Braveheart & CE UBports
                2020-Now (Family/Daily use): Vollaphone Xenial
                2022-Now (Family/Daily use): Vollaphone 22 Focal

                1 Reply Last reply Reply Quote 0
                • K Online
                  kristatos
                  last edited by kristatos

                  I've observed the battery usage over the week. I've used my main sim-card in an other phone and used the E4.5 with only the second sim-card and some wifi-connections. Over the week there was no unusual battery waste.
                  Yesterday I plugged in my main sim-card again. The first day with both sim inserted was pretty normal, today I got a battery drain again after using a wifi connection (normally around 10% per day, now 60% in 5 hours).
                  What I find strange is that normally when I press the power button to wake up the phone/screen, it takes aprox. 1,5 seconds until the screen and the backlight is switched on.
                  For now the screen is on immediatly after pressing the power button, so I think something in the background isn't going to sleep as intended and so the battery drains.

                  Edit:
                  In dmesg there hundreds of those lines (forget the date-/timestamp):
                  [Di Aug 10 12:48:23 2021] [WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
                  [Di Aug 10 12:48:23 2021] [WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported

                  BQ Aquaris E4.5 (UT 16.04)
                  Vollaphone (UT 20.04)

                  BollyB 1 Reply Last reply Reply Quote 0
                  • BollyB Offline
                    Bolly @kristatos
                    last edited by

                    @kristatos said in High CPU usage by kworker:

                    I've observed the battery usage over the week. I've used my main sim-card in an other phone and used the E4.5 with only the second sim-card and some wifi-connections. Over the week there was no unusual battery waste.
                    Yesterday I plugged in my main sim-card again. The first day with both sim inserted was pretty normal, today I got a battery drain again after using a wifi connection (normally around 10% per day, now 60% in 5 hours).
                    What I find strange is that normally when I press the power button to wake up the phone/screen, it takes aprox. 1,5 seconds until the screen and the backlight is switched on.
                    For now the screen is on immediatly after pressing the power button, so I think something in the background isn't going to sleep as intended and so the battery drains.
                    Edit:
                    In dmesg there hundreds of those lines (forget the date-/timestamp):
                    [Di Aug 10 12:48:23 2021] [WMT-LIB][E]wmt_lib_is_therm_ctrl_support(1175):thermal command can not be send: STP is not ready
                    [Di Aug 10 12:48:23 2021] [WMT-EXP][E]_mtk_wcn_wmt_therm_ctrl(232):thermal ctrl function not supported

                    If you are brave, switch to RC, this is solved. πŸ™‚

                    2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                    2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                    2020-Now : PinePhone Braveheart & CE UBports
                    2020-Now (Family/Daily use): Vollaphone Xenial
                    2022-Now (Family/Daily use): Vollaphone 22 Focal

                    K 1 Reply Last reply Reply Quote 0
                    • K Online
                      kristatos @Bolly
                      last edited by kristatos

                      @bolly Is it really solved or do you think it is solved? Have you already switched to rc to get rid of this issue?

                      edit. I think you mean this bug-report, right?

                      BQ Aquaris E4.5 (UT 16.04)
                      Vollaphone (UT 20.04)

                      BollyB 1 Reply Last reply Reply Quote 0
                      • BollyB Offline
                        Bolly @kristatos
                        last edited by

                        @kristatos said in High CPU usage by kworker:

                        @bolly Is it really solved or do you think it is solved? Have you already switched to rc to get rid of this issue?

                        It's already fixed, and I switched to RC as I said in the previous message (maybe I didn't express myself well). See the new screenshot, but the one from the other day was fine too. Compare it with the first one I posted. :beaming_face_with_smiling_eyes:

                        screenshot20210816_212018028.png

                        edit. I think you mean this bug-report, right?

                        I haven't looked, first time I've seen it. @kugiigi told me and I just believed it. :cat_face_with_tears_of_joy:

                        https://forums.ubports.com/topic/6525/high-cpu-usage-by-kworker/5

                        2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                        2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                        2020-Now : PinePhone Braveheart & CE UBports
                        2020-Now (Family/Daily use): Vollaphone Xenial
                        2022-Now (Family/Daily use): Vollaphone 22 Focal

                        F 1 Reply Last reply Reply Quote 0
                        • F Offline
                          flaun*in @Bolly
                          last edited by

                          @bolly MX4 - high power usage.jpg

                          I'm still facing this problem. Very high CPU usage while flight mode.
                          It's an Meizu MX4 on Release Channel (Version 113).
                          I already changed my battery! The phone is almost not usable as a daily driver with this bug!
                          Is there anything else I could do? How can I check if I got the fix?
                          Any help, pleas?

                          BollyB 1 Reply Last reply Reply Quote 0
                          • BollyB Offline
                            Bolly @flaun*in
                            last edited by

                            @flaun-in said in High CPU usage by kworker:

                            I'm still facing this problem. Very high CPU usage while flight mode.
                            It's an Meizu MX4 on Release Channel (Version 113).
                            I already changed my battery! The phone is almost not usable as a daily driver with this bug!
                            Is there anything else I could do? How can I check if I got the fix?
                            Any help, pleas?

                            Does it give the same percentage of charge when the phone is switched off and you put it on charge?

                            2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                            2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                            2020-Now : PinePhone Braveheart & CE UBports
                            2020-Now (Family/Daily use): Vollaphone Xenial
                            2022-Now (Family/Daily use): Vollaphone 22 Focal

                            F 1 Reply Last reply Reply Quote 0
                            • F Offline
                              flaun*in @Bolly
                              last edited by

                              @bolly
                              No, it's totally curious. Sometimes its more, sometimes its less!

                              Shutting down the phone helps sometimes. Then there's no battery drain while being in flight mode anymore.

                              BollyB 1 Reply Last reply Reply Quote 0
                              • BollyB Offline
                                Bolly @flaun*in
                                last edited by

                                @flaun-in said in High CPU usage by kworker:

                                No, it's totally curious. Sometimes its more, sometimes its less!

                                Then your battery is out of calibration.
                                To fix it you have to discharge the whole battery and with the phone switched off charge it to 100%. (Repeat the operation until it shows the same off as on).

                                2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                                2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                                2020-Now : PinePhone Braveheart & CE UBports
                                2020-Now (Family/Daily use): Vollaphone Xenial
                                2022-Now (Family/Daily use): Vollaphone 22 Focal

                                F 1 Reply Last reply Reply Quote 0
                                • K Online
                                  kristatos
                                  last edited by

                                  I'm on RC since monday and until now everything works like it should, no battery drain anymore. I hope it's fixed.

                                  BQ Aquaris E4.5 (UT 16.04)
                                  Vollaphone (UT 20.04)

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    flaun*in @Bolly
                                    last edited by

                                    @bolly
                                    I replaced my battery with a new one and I didn't realise this problem any more so far!

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      flaun*in
                                      last edited by

                                      photo_2021-09-01_21-34-04.jpg
                                      This happens right know most of the time when I charge my phone during the night (switched off) and then turn it into flight mode while I'm working. Enormous battery drain within a few hours in flight mode!
                                      So I basically always have to turn it out during a longer period I don't need it instead of using the flight mode. Very annoying!

                                      Am I the only person facing this problem?
                                      Any ideas? Any help welcome:)
                                      Have a nice evening

                                      1 Reply Last reply Reply Quote 0
                                      • K Online
                                        kristatos
                                        last edited by

                                        I'm on RC (starting with 113, now 115) with my E4.5 for over 10 days now and I haven't been affected by this bug anymore.

                                        BQ Aquaris E4.5 (UT 16.04)
                                        Vollaphone (UT 20.04)

                                        1 Reply Last reply Reply Quote 0
                                        • K kristatos referenced this topic on
                                        • K kristatos referenced this topic on
                                        • First post
                                          Last post