@paulcarroty
According to https://android.stackexchange.com/questions/200032/difference-between-system-files-charging-enabled-vs-battery-charging-enabled battery-charging-enabled
has a different behavior than charging-enabled
.
So I will just make a MR to add the above udev rule in surya and karna.
Thanks for your work
Posts
-
RE: Resurrection of Indicator Upower
-
RE: Resurrection of Indicator Upower
@paulcarroty
The udev rule is working properly:
-rw-rw-r-- 1 phablet system 4096 janv. 23 09:08 /sys/class/power_supply/battery/charging_enabled
And the content ofcharging_enabled
goes well from 1 to 0 when the charge exceeds 85%.But, despite this, the device continues to charge beyond 85 % !
(I believe that, on surya and karna, we must have to write in another file.
I will try with `/sys/class/power_supply/battery/battery_charging_enabled ) -
RE: Snapz0r
@nonobike
It should work !
Please, take a look a these issues and their solutions.
https://github.com/fredldotme/snapz0r/issues -
RE: Resurrection of Indicator Upower
@paulcarroty
I think it's indeed the right approach.
I will confirm today that it works. -
RE: Snapz0r
@nonobike
Indeed.
If you want to check on your phone you can type in terminal.app :zgrep -i squashfs /proc/config.gz
-
RE: Snapz0r
in OnePlus Nord N100 kernel config, the following lines are already present :
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_LZO=y -
RE: Resurrection of Indicator Upower
@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? -
RE: Resurrection of Indicator Upower
@paulcarroty
Ok.
Thanks for your work. -
RE: Resurrection of Indicator Upower
@paulcarroty
I can see on github that v0.5 has been released.
But only v0.4 seems to be available on the open store. -
RE: Resurrection of Indicator Upower
@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.
-
RE: Resurrection of Indicator Upower
@uxes It was just an idea.
Sorry for the inconvenience. -
RE: Resurrection of Indicator Upower
@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
-
RE: Resurrection of Indicator Upower
@uxes
Shouldn't device names becurtana
,joyeuse
,excalibur
orgram
instead ofmiatoll
?
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 -
RE: Resurrection of Indicator Upower
@uxes said in Resurrection of Indicator Upower:
can you make a release? thanks @paulcarroty
Same request, please @paulcarroty
-
RE: What means *Surya*? for Xiaomi X3 NFC
It is more than recommended to downgrade to the needed V12.0.9.0.QJGMIXM Android 10 version.
-
RE: What means *Surya*? for Xiaomi X3 NFC
Hello,
surya
is the codename of Xiaomi POCOX3 NFC
,
andkarna
is the codename of Indian POCOX3
.You can check it by typing in a terminal
getprop | grep surya
or
getprop | grep karna
-
RE: [Qualcomm} VoLTE call for testing
Is there a way to make VoLTE work with
radioInterface = 1.4
?Finally, after commenting on the IMS services lines in the file
init.disabled.rc
the VoLTE works withradioInterface = 1.4
on POCO X3 NFC.Some features don't seem to work properly anymore.
I will report on the issues encountered after a few days of testing. -
RE: [Qualcomm} VoLTE call for testing
I'm working on the POCO X3 NFC (surya) port with the maintainer and I tried Marius' changes, without success.
The device is 4G only, and there is noandroid.hardware.radio@1.5.so
(android 10).@mariogrip
Is there a way to make VoLTE work withradioInterface = 1.4
? -
RE: Noble-based devel images now available on most devices with 20.04 devel image
Hi @peat_psuwit
How to check if noble image is available for poco x3 (surya) ?
I tried
system-image-cli --list-channels
but an exception occurs every time.
-
RE: reduced battery life - something with OTA-5?
Hi,
As suggested by @Fuseteam, I disabled data connection and I did a new test (still without BatterySaver app):
- Wi-Fi on, data off : 38 hours of battery lifetime
Same as Wi-Fi on and data on.
It seems that the data connection is not used while Wi-Fi is on.