Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    16.04-OTA5 && percentage of battery in indicator

    Support
    4
    6
    302
    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.
    • G
      guru last edited by

      In the GOD(™) of Canonical and UBports OTA3 I was used to set in my BQ E4.5 that the battery indicator shows not only the symbol, but also the percentage of the batterylevel. This was easy (and only once) to be configured with one the following command which now gives errors and no visible effect regarding the battery status symbol:

      # gsettings list-keys com.canonical.indicator.power
      icon-policy
      show-percentage
      show-time
      
      # gsettings set com.canonical.indicator.power show-percentage true
      
      (process:31630): dconf-CRITICAL **: unable to create directory '/root/.cache/dconf': Read-only file system.  dconf will not work properly.
      
      (process:31630): dconf-CRITICAL **: unable to create directory '/root/.cache/dconf': Read-only file system.  dconf will not work properly.
      
      (process:31630): dconf-CRITICAL **: unable to create directory '/root/.cache/dconf': Read-only file system.  dconf will not work properly.
      
      (process:31630): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
      

      Any ideas?

      Lakotaubp 1 Reply Last reply Reply Quote 0
      • Lakotaubp
        Lakotaubp @guru last edited by Lakotaubp

        @guru You can enable the % using UT Tweaktool, indicators

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

          I have never used it, where it is and its documentation? Thanks

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @guru last edited by A Former User

            @guru Download the UT Tweak Tool app from the openstore: https://open-store.io/app/ut-tweak-tool.sverzegnassi

            In "Behavior" - which should be the page opened as you open the app (if not, choose with the option button top left) - go down to "Indicators", and then simply toggle the Battery [Robin: "what's a Tery?"] "show percentage on panel" switch.

            1 Reply Last reply Reply Quote 1
            • dobey
              dobey last edited by

              Why are you running gsettings as root?

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

                @dobey said in 16.04-OTA5 && percentage of battery in indicator:

                Why are you running gsettings as root?

                Thanks, this was what caused the problem.

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