Ultra power save button with custom ROM's

VarunAgw

Member
Mar 29, 2016
26
2
0
Hi

Is anybody able to use Ultra Power Saver button feature of Lenovo P2 with custom ROM's (lineage os or some other)?

Any way to install this feature into them?
 

raphj

Member
Sep 9, 2017
27
24
0
Hi

Is anybody able to use Ultra Power Saver button feature of Lenovo P2 with custom ROM's (lineage os or some other)?

Any way to install this feature into them?
I guess this button triggers a feature that is developed by Lenovo specifically for the P2. I guess having that in lineage and other custom work would require coding such a function. Which does not seem impossible.

I tried to guess what this feature does, it seems to mainly stop any running app, Bluetooth, wifi, data, nfc, put the phone in Extreme power saver mode and show a black screen with big numbers and a set of icons to a limited number of applications like the phone and other things I cannot remember. Leaving the "Ultra Power Saver" state restores Bluetooth, wifi, data, nfc if they were enabled.

I guess that you'd need to have support for this button in lineage (maybe it is the case for kernels that are based on stock kernel) and somehow associate this button to this feature, but I don't know Android well enough to know how one would do that. It would be not essential but nice to have as far as I'm concerned. I would also like to be able to use this button for other things.

In case I run into a situation in which I need to save power to such extents, I would turn wifi, bluetooth, data, nfc off, put the phone in extreme power saver mode and force close apps that are likely running in the background (instant messaging, mails, file / contact syncing / backup, integration with computers,…).
 
  • Like
Reactions: NiTrOwow
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone