Sorry, will check and revert.
Added to @maxwen
So, your link to jira pushed me to read compliling from source.
Finally i managed to set up mine debian for building omni and installed repo tool.
I even made sucessfull built of omni.
But it still not fully clear for me how to apply the feature which was asked by me.
After reading xda forum in different trees i understood, that it needed to do cherry pick of the omni gear battery saver.
I order not to broke mine source directory (which at least built the ordinary release of omni) i would like to clarify the steps to follow to insert the code of battery saver.
Please check am i right:
1. Made cherry pick of the battery saver. It will be three directories of omni source: base, settings and omnigears.
2. Make brunch
3. If sucessfull then flash via TWRP.
I'm mostly interested in the first point where cherry pick goes on. As i read from gerrit page, the battery saver conflicts with the some files - do the conflicts should be manually corrected in those files or it is just a mention that those files will be overwritten?
And if the cherry pick made, is it necessary to make some changes in the .mk files for omnigears and settings in order that those would be included in compiling?
Thanks beforehand for your reply or at least to verification of the steps.
Without receipt of reply, the built was sucessfull and the battery saver appeared in the battery menu.
Thanks for the added option.
And please close the thread as SOLVED and feature completed.
Sent from my Nexus 5 using XDA Premium 4 mobile app