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

Resurrection of Indicator Upower

Scheduled Pinned Locked Moved App Development
upowerpowerindicator
61 Posts 11 Posters 4.8k 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.
    • A Online
      alagirialagiri @paulcarroty
      last edited by 26 Dec 2024, 14:21

      @paulcarroty My device is 1.Google Pixel 3aXL and 2. Xiaomi POCO X 3 in focal 20.04 -Devel channel.
      Thank you.

      1 Reply Last reply Reply Quote 0
      • U Offline
        uxes
        last edited by 4 Jan 2025, 18:03

        can you make a release? thanks @paulcarroty

        E 1 Reply Last reply 4 Jan 2025, 19:14 Reply Quote 1
        • E Offline
          Eric H @uxes
          last edited by 4 Jan 2025, 19:14

          @uxes said in Resurrection of Indicator Upower:

          can you make a release? thanks @paulcarroty

          Same request, please @paulcarroty

          1 Reply Last reply Reply Quote 0
          • P Offline
            paulcarroty
            last edited by 7 Jan 2025, 08:40

            Test builds can be downloaded from Github Actions.

            @alagirialagiri submit your Pixel data.

            www.kremlingram.org

            E 1 Reply Last reply 8 Jan 2025, 08:52 Reply Quote 1
            • U Offline
              uxes
              last edited by 7 Jan 2025, 21:49

              I am not sure if i grabbed working build 0.4 from today

              https://dpaste.com/DJSGN2QTL

              E 1 Reply Last reply 8 Jan 2025, 05:57 Reply Quote 0
              • O Offline
                Ontario
                last edited by 7 Jan 2025, 23:13

                Works on Poco X3 NFC

                1 Reply Last reply Reply Quote 1
                • E Offline
                  Eric H @uxes
                  last edited by 8 Jan 2025, 05:57

                  @uxes
                  Shouldn't device names be curtana, joyeuse, excalibur or gram instead of miatoll ?
                  https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-redmi-note-9-pro/xiaomi-miatoll/-/tree/focal/overlay/system/etc/deviceinfo/devices?ref_type=heads

                  U 1 Reply Last reply 8 Jan 2025, 07:25 Reply Quote 0
                  • U Offline
                    uxes @Eric H
                    last edited by 8 Jan 2025, 07:25

                    @Eric-H it is pretty much possible i did not look how is getting device name implemented, but device is identified as miatoll in logs, and also in releases http://system-image.ubports.com/utnext/arm64/android9plus/daily/ on same level as surya

                    E 1 Reply Last reply 8 Jan 2025, 08:56 Reply Quote 1
                    • E Offline
                      Eric H @paulcarroty
                      last edited by 8 Jan 2025, 08:52

                      @paulcarroty
                      I installed test build for surya.
                      It seems to work but it does not stop charging when limit is reached.

                      Is it related to the following message ?

                      /bin/sh: 1: cannot create /sys/class/power_supply/battery/charging_enabled: Permission denied
                      
                      E 1 Reply Last reply 8 Jan 2025, 10:29 Reply Quote 0
                      • E Offline
                        Eric H @uxes
                        last edited by 8 Jan 2025, 08:56

                        @uxes It was just an idea.
                        Sorry for the inconvenience.

                        1 Reply Last reply Reply Quote 0
                        • U Offline
                          uxes
                          last edited by 8 Jan 2025, 09:32

                          Another reboot helped, now indicator works, we can mark miatoll as working, just needed two reboot not just one

                          1 Reply Last reply Reply Quote 1
                          • E Offline
                            Eric H @Eric H
                            last edited by 8 Jan 2025, 10:29

                            @Eric-H said in Resurrection of Indicator Upower:

                            /bin/sh: 1: cannot create /sys/class/power_supply/battery/charging_enabled: Permission denied

                            @paulcarroty I'm currently experimenting a udev rules :

                            # Set charging permissions so indicator-upower can access it
                            ACTION=="add|change", SUBSYSTEM=="power_supply", KERNEL=="battery", RUN+="/bin/chmod 0666 /sys/class/power_supply/%k/charging_enabled"
                            

                            It seems to work. I will confirm later.

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              paulcarroty
                              last edited by 16 Jan 2025, 14:35

                              🎉 New release arrived, thx to all contributors.

                              www.kremlingram.org

                              E 1 Reply Last reply 17 Jan 2025, 16:15 Reply Quote 2
                              • E Offline
                                Eric H @paulcarroty
                                last edited by Eric H 17 Jan 2025, 16:15

                                @paulcarroty
                                I can see on github that v0.5 has been released.
                                But only v0.4 seems to be available on the open store.

                                P A 2 Replies Last reply 17 Jan 2025, 17:41 Reply Quote 0
                                • P Offline
                                  paulcarroty @Eric H
                                  last edited by 17 Jan 2025, 17:41

                                  @Eric-H probably the store review still in progress.

                                  www.kremlingram.org

                                  E 1 Reply Last reply 17 Jan 2025, 18:17 Reply Quote 1
                                  • E Offline
                                    Eric H @paulcarroty
                                    last edited by 17 Jan 2025, 18:17

                                    @paulcarroty
                                    Ok.
                                    Thanks for your work.

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      AppLee @Eric H
                                      last edited by 18 Jan 2025, 11:55

                                      Hi @Eric-H

                                      Here is an explanation:
                                      09d5ac03-86e8-4756-8f62-a5cdf4123b46-Screenshot_20250118_125401.png

                                      E 1 Reply Last reply 19 Jan 2025, 13:06 Reply Quote 1
                                      • E Offline
                                        Eric H @AppLee
                                        last edited by Eric H 19 Jan 2025, 13:06

                                        @paulcarroty
                                        I tested the 0.5 release on surya and I can confirm that it works as expected.

                                        Regarding the udev rule, it works perfectly with permissions 0666.
                                        But if I try 0664, it no longer works…
                                        What is the group of the /sys/class/power_supply/battery/charging_enabled file on other devices?

                                        U P 2 Replies Last reply 19 Jan 2025, 14:17 Reply Quote 0
                                        • U Offline
                                          uxes @Eric H
                                          last edited by 19 Jan 2025, 14:17

                                          @Eric-H
                                          miatoll

                                          -rwxrwxrwx 1 system system 4,0K led 19 12:40 /sys/class/power_supply/battery/charging_enabled

                                          1 Reply Last reply Reply Quote 1
                                          • P Offline
                                            paulcarroty @Eric H
                                            last edited by 21 Jan 2025, 08:19

                                            @Eric-H try the next rule with 0664:

                                            ACTION=="add|change", SUBSYSTEM=="power_supply", KERNEL=="battery", RUN+="/bin/chmod 0664 /sys/class/power_supply/%k/charging_enabled", RUN+="/bin/chown phablet /sys/class/power_supply/%k/charging_enabled"  
                                            
                                            

                                            www.kremlingram.org

                                            E 1 Reply Last reply 21 Jan 2025, 08:30 Reply Quote 0
                                            • First post
                                              Last post