AccuBattery on Pie - Sony Xperia XZ1 Compact Themes, Apps, and Mods

Hello, is anyone using AccuBattery on Pie or Oreo? In my case the charge alarm won't go off at the set charge %. It only shows a notification although i have granted all of the permissions to the app.
EDIT:
Nevermind, i just cleared the apps cache and it works flawlessly

Related

Pacman on Note 2 (Verizon) - can't send text messages

I installed Pacman on my Note 2, and now I can't send text messages. Does anyone know how to fix this?
OK, I just did a factory reset, and went back to JellyBeans ROM, and I still can't send.
Can you use the net or anything else?
Did you try adjusting the settings in the SMS apk?
persistent alarm notification
This is my first time on pacman I was wondering if there is anyway to disable the alarm notification?
savagerider750 said:
This is my first time on pacman I was wondering if there is anyway to disable the alarm notification?
Click to expand...
Click to collapse
The notification or the status bar notification?
To block the status bar notification go in to the alarm clock -> settings -> disable show icon
So I'm sure I'm mussing something but there is something draining my battery. Like 40% in 4 hours. I've done a full wipe and battery recalibration which works for a few hours but then the battery gets incredibly warm. The battery stats just show android system and android os at like 30% but I can't figure out what it would be.
savagerider750 said:
So I'm sure I'm mussing something but there is something draining my battery. Like 40% in 4 hours. I've done a full wipe and battery recalibration which works for a few hours but then the battery gets incredibly warm. The battery stats just show android system and android os at like 30% but I can't figure out what it would be.
Click to expand...
Click to collapse
Sadly, sometimes AOSP has excessive battery drain. When I was on a TW rom, my battery life was amazing. After switching to AOSP simply cause I couldn't wait for 4.2-3 I noticed it was draining a bit faster. It might be wakelock though, so you can get a few apps to see what apps might be causing it. You can also get greenify.
Additionally, there was a known issue with the phone overheating/excessive battery drain since the switch over to 4.3.1. they talk about it in the pacrom, but said it would be fixed over the next few nightly builds
get devil kernel and you can also change the rate it charges at. i know it doesn't solve the issue, but it helps.

BetterBatteryStats not working

Hi. I recently got this phone and I am having some issues. I'm on latest Global Dev (6.11.3 Beta). Battery life is good (around 8 h of SOT), although I think it's consuming too much when screen is off (went to sleep with 20% and battery was dead when I woke up).
I was trying to install BetterBatteryStats (from XDA) and it's not working. After installing I get a white blank screen for around 15 seconds and then a toast message (Fallback to "Since boot") and the "Computing..." message with the interface grayed out in the background. But it doesn't do anything else.
I tried giving BBS all permissions possible in case that was the problem, but no luck.
Any ideas? Thanks.
Make sure you turn off wi-fi or mobile data whatever. You can also set automatic battery saver from security/battery/battery saver
Adarsh2000 said:
Make sure you turn off wi-fi or mobile data whatever. You can also set automatic battery saver from security/battery/battery saver
Click to expand...
Click to collapse
Thanks. I know I can do those things. But why am I having this problem with Better Battery Stats? Is it working for you? Can you try if not? Link here.
Did a clean reflash. It's working now.

Battery indicator

Hey, since the new update, the battery indicator in the nitificationbar is not updating / refreshing anymore, id does just always show a full battery, even when there is only like 40% left.
If i restart the phone it will set to the batterylife that is left, for example if i reset at 3/4 of the bettery it will show that but not refresh anymore till i reset again.
Factory reset and so on does not help, seems like a big software issue with the phone here.
if i go to options battery, it will show the right %tage in the options menue.
Also, they said in the patchnotes, that they now implemented a % of the battery in the notificationbar, but there is literally no option to enable that, any idead on where to search for that?
Or nay app recomendations that could help me out here?
crystalpepe said:
Hey, since the new update, the battery indicator in the nitificationbar is not updating / refreshing anymore, id does just always show a full battery, even when there is only like 40% left.
If i restart the phone it will set to the batterylife that is left, for example if i reset at 3/4 of the bettery it will show that but not refresh anymore till i reset again.
Factory reset and so on does not help, seems like a big software issue with the phone here.
if i go to options battery, it will show the right %tage in the options menue.
Also, they said in the patchnotes, that they now implemented a % of the battery in the notificationbar, but there is literally no option to enable that, any idead on where to search for that?
Or nay app recomendations that could help me out here?
Click to expand...
Click to collapse
It's working on mine. It is always set to % , no option to turn off.
I updated by using full time flashed with sp flash. Did you do it with OTA?
mrmazak said:
It's working on mine. It is always set to % , no option to turn off.
I updated by using full time flashed with sp flash. Did you do it with OTA?
Click to expand...
Click to collapse
Yes, it made an update in the middle of the night when it got releasen, funny thing is, i turned auto updates off and nearly got late for work, because my phone is also my alarm clock and since it made it´s update on it´s own it reset and needet my passcode to restart.
Nevermind, i usually make a factory reset after an update and most problems are gone by now, for example the multitask bug, it is still there but not all the time and usually only when apps havent been open for a few minutes or from what i´ve seen, it just loasd alot of apps into the RAM and as soon as the 3,9gb are full it just closes all of them, instead of just making enough space and killing the first few that you have had open. I hope they fix that in the next update, but still it is way better than before.
BUt back to the topic. Since the Update, the battery indicator on the right top has a different style but as i mentioned just stays white and shows a full battery all the time, with no option to change it to % like the update log was mentioning.
Before the update it also had no % in the bar but when you moved the bar down there at leas was a % shown, now just a full battery symbol all the time.
But i tried a few different apps now an one just put in % in the battery icon now and also updates : itßs called Battery Percent Enabler, i tried 5 different ones, they did not work, but this just works fine, it is accurate with the battery indicator in the menu.
But i´ll guess i will try and root may phone sooner or later and then i will just flash the newest rom on it anyways.
Just wanted to know if i´m the problem and i just couldent find the menu to activate it, if it was a generell software problem or if it is just a bug since the update.
An other question, do you also have the frontfacing camera but since the update?
People in the umidigi forum and on reddit post about it en mass, i first thought it was a crack in the camera lens but since the update i have it too and people are having it too since the update.
https://ibb.co/RgXSpNJ
Its just one of the pictures of another f1 user since the update, mine has this weird line right in the middle of the camera, but i cant find a crack in the glass or the lense and since it only happened to people since the update do you think they messed something up in the cam software?
I also found a few that state the frontcam is not working at all since the update.
battery indicator
Literally the same issue battery indicator only shows the battery life when first booted, rebooted, or charging. Otherwise the battery does not move. had to install widget off of playstore. Also no percentage on/off even though when you type it in the settings search bar it shows it but redirects you to battery and we'll you guessesd it not there... hope patch comes out soon....
ryantf420 said:
Literally the same issue battery indicator only shows the battery life when first booted, rebooted, or charging. Otherwise the battery does not move. had to install widget off of playstore. Also no percentage on/off even though when you type it in the settings search bar it shows it but redirects you to battery and we'll you guessesd it not there... hope patch comes out soon....
Click to expand...
Click to collapse
Hi, as i already troubleshooted and also kinda fixed it, just get the app i wrote in the first comment and everything should be good.
the only other thing that would help now is to re install the lastest update, since you messed something up while doing so.
or you can just install the app that i told you about.
Many of these little bugs or tweaks would be easily solved if we had an official and working GravityBox for Pie. Shame.
David C.

Question Battery Charge Limit - where is CTRL file?

I am unable to get the Battery Charge Limit app to work on the TMOBILE variant of this device. The app allows you to set start/stop charging %, which helps prolong battery state.
Does anyone know where the control file is located? I tried searching in /sys/class/* but couldn't find anything like chg_enabled or something similiar.
For OP9Pro, the file is located here: /sys/class/oplus_chg/usb/chg_enable
For OPN200, I don't know
Doing a
find . 2>/dev/null | grep charg
Click to expand...
Click to collapse
gave me
/sys/devices/virtual/oplus_chg/battery/mmi_charging_enable
Click to expand...
Click to collapse
Writing 0 to this file disables charging and writing 1 enables charging. Note that the charging icon shows that the battery is charging if the device is plugged in even if the file has a 0, but checking with a battery app will show that charging is disabled.
I also noticed that the battery charge limit app doesn't work if you start the app when the battery is already above the maximum limit, it only works if you start the app with the battery at or above the limit you set in the app.
Also I didn't realize this but you can also use ACC and run
acc -p
Click to expand...
Click to collapse
to find likely control files. useful to know for switching to a new device and trying to find a control file.
aznxwill said:
I am unable to get the Battery Charge Limit app to work on the TMOBILE variant of this device. The app allows you to set start/stop charging %, which helps prolong battery state.
Does anyone know where the control file is located? I tried searching in /sys/class/* but couldn't find anything like chg_enabled or something similiar.
For OP9Pro, the file is located here: /sys/class/oplus_chg/usb/chg_enable
For OPN200, I don't know
Click to expand...
Click to collapse
any luck with this? been unable to get it working on mine as well
l0csta said:
any luck with this? been unable to get it working on mine as well
Click to expand...
Click to collapse
It seems @towardsdawn is spot on.
I configured Battery Charge Limit (you can find in Playstore) to use the charge control file located here:
Code:
/sys/class/oplus_chg/battery/mmi_charging_enable
And it seems to work. If the current battery % is HIGHER than the STOP CHARGE %, then the Battery Charge Limit application will say DISCHARGING but battery icons from homescreen and lockscreen will indicate it's charging. Even though battery icon from homescreen and lockscreen says it's charging, I did not see battery % increase.
If you charge the phone when it's BELOW the STOP CHARGE %, then the Battery Charge Limit application will say it's charging and the battery % will increase after some time until it reaches STOP CHARGE %.
Overall, it seems to work, it's just the battery charging status from Battery Charge Limit app and phone icons are not aligned. One thing I do notice is if current % is ABOVE the STOP CHARGE %, then it will stay at that % while plugged in.
just a heads up, make sure to disable battery saver as well as advanced battery optimizations when charging, these modes will kill the Battery Charge Limit app even if you have it set to "Don't optimize". had some issues getting it to work overnight and doing this worked for me.
a little ironic isn't it
looks like I spoke too soon, I fiddled around with the settings and still can't get it to work consistently. sometimes it works, sometimes it doesn't. I switched to ACCA and that works much better.
aznxwill said:
It seems @towardsdawn is spot on.
I configured Battery Charge Limit (you can find in Playstore) to use the charge control file located here:
Code:
/sys/class/oplus_chg/battery/mmi_charging_enable
And it seems to work. If the current battery % is HIGHER than the STOP CHARGE %, then the Battery Charge Limit application will say DISCHARGING but battery icons from homescreen and lockscreen will indicate it's charging. Even though battery icon from homescreen and lockscreen says it's charging, I did not see battery % increase.
If you charge the phone when it's BELOW the STOP CHARGE %, then the Battery Charge Limit application will say it's charging and the battery % will increase after some time until it reaches STOP CHARGE %.
Overall, it seems to work, it's just the battery charging status from Battery Charge Limit app and phone icons are not aligned. One thing I do notice is if current % is ABOVE the STOP CHARGE %, then it will stay at that % while plugged in.
Click to expand...
Click to collapse
Battery Charge Limit is one of my fav apps.
I thought that you have to have root to use this app, no?
Could you provide a beginner's guide on your method? Noobs need it!
clu1688 said:
Battery Charge Limit is one of my fav apps.
I thought that you have to have root to use this app, no?
Could you provide a beginner's guide on your method? Noobs need it!
Click to expand...
Click to collapse
Here is a quick guide to using ACCA which I find to work much more consistently on the Nord N200 than Battery Charge Limit:
Unlock bootloader (see this thread, I used the debloat script. make sure to remove the line that gets rid of Gboard)
Root your phone with Magisk (see this thread)
Visit this website to download F-droid, then in the F-droid client download ACCA. ACCA will say installation failed for some reason, but it still works
Edit the default profile under the Profiles tab.
Under Capacity Control edit Charging switch.
Click Add Charging Switch.
Type in
Code:
/sys/class/oplus_chg/battery/mmi_charging_enable
for charging switch
Type in 1 for On value and 0 for Off value. Click ok.
Tap on the new charging switch. Click Test charging switch with the charger plugged in. It should popup saying the switch works, if it doesn't then you'll have to troubleshoot that.
Click Save.
Edit the other settings to what you want, then click the save icon in the top right.
Tap on the default profile to switch to it.
You may or may not need to do this, but under android battery settings I disabled battery optimization for ACCA and I also turned off all of the advanced optimization settings.
towardsdawn said:
just a heads up, make sure to disable battery saver as well as advanced battery optimizations when charging, these modes will kill the Battery Charge Limit app even if you have it set to "Don't optimize". had some issues getting it to work overnight and doing this worked for me.
a little ironic isn't it
looks like I spoke too soon, I fiddled around with the settings and still can't get it to work consistently. sometimes it works, sometimes it doesn't. I switched to ACCA and that works much better.
Click to expand...
Click to collapse
Seems I am running into same issue - sometimes it works and sometimes it doesn't with Battery Charge Limit. I'll check out ACCA.
@clu1688 - you should check out the post above mine with ACCA. It seems Battery Charge Limit app doesn't work consistently.

Question Screen saver after 12 update

Anyone else having issues with activating the screen saver after Android 12 update? I use the phone as an alarm clock and really like being able to see the time on my night stand. Worked fine before. Was set to activate while charging. Can only get it to turn on now through the Google clock app. Any work around appreciated! Thanks!

Categories

Resources