diff --git a/device.mk b/device.mk index b144976..09eefb0 100644 --- a/device.mk +++ b/device.mk @@ -22,4 +22,8 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.fingerprint.xml # Inherit proprietary parts -$(call inherit-product-if-exists, vendor/xiaomi/cereus/cereus-vendor.mk) +$(call inherit-product, vendor/xiaomi/cereus/cereus-vendor.mk) + +# Overlay +DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay + diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml new file mode 100644 index 0000000..2f05d00 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml @@ -0,0 +1,135 @@ + + + 0 + 69 + 212 + 15 + 2 + 1.5 + 178 + 11 + 22.6 + 48 + 304.6 + 537 + 29 + 134 + 10 + + 4 + 2 + + 0 + 0 + 0 + 700 + + 4 + 4 + + + 2001000 + 1961000 + 1927000 + 1897000 + 1868000 + 1838000 + 1809000 + 1779000 + 1750000 + 1617000 + 1484000 + 1351000 + 1218000 + 1085000 + 979000 + 900000 + + + 1500000 + 1429000 + 1367000 + 1314000 + 1261000 + 1208000 + 1155000 + 1102000 + 1050000 + 948000 + 846000 + 745000 + 643000 + 542000 + 460000 + 400000 + + + 947 + 856 + 765 + 674 + 611 + 547 + 484 + 430 + 376 + 322 + 276 + 230 + 184 + 143 + 102 + 61 + + + 576 + 510 + 444 + 379 + 337 + 296 + 255 + 223 + 192 + 160 + 135 + 110 + 85 + 64 + 43 + 22 + + 2.3 + + 45 + + 3000 + 4 + 80 + 140 + + 2550 + + .0002 + .002 + .02 + .2 + 2 + + 0 + 0 + 0 + + 0 + 0 + 0 + 0 + 0 + + 0 + + 0 + 0 + + 0 +