Alioth: Import display config from HyperOS

This commit is contained in:
johnmart19
2025-09-22 15:20:58 +03:00
committed by bntxperses
parent e2974a25d5
commit 5908ceaa2f
2 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<displayConfiguration>
<!-- Global Brightness-Nit mapping -->
<screenBrightnessMap>
<point>
<value>0.000732601</value>
<nits>2.0</nits>
</point>
<point>
<value>0.4998779</value>
<nits>500.0</nits>
</point>
<point>
<value>1.0</value>
<nits>900.0</nits>
</point>
</screenBrightnessMap>
<!-- root node for HBM-->
<highBrightnessMode enabled="true">
<!-- Transition point brightness from normal to HBM mode -->
<transitionPoint>0.4998779</transitionPoint>
<!-- Minimum lux to enter HBM -->
<minimumLux>6001</minimumLux>
<!-- Time limitation for HBM-->
<timing>
<timeWindowSecs>0</timeWindowSecs>
<timeMaxSecs>0</timeMaxSecs>
<timeMinSecs>0</timeMinSecs>
</timing>
<!--Refresh rate limitation when the device is in HBM -->
<!-- <refreshRate>
<minimum>0</minimum>
<maximum>0</maximum>
</refreshRate> -->
<!-- Thermal limitation for HBM -->
<thermalStatusLimit>critical</thermalStatusLimit>
<!-- Low power mode limitation for HBM -->
<allowInLowPowerMode>true</allowInLowPowerMode>
<minimumHdrPercentOfScreen>0</minimumHdrPercentOfScreen>
<sdrHdrRatioMap>
<point>
<sdrNits>2.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
<point>
<sdrNits>900.0</sdrNits>
<hdrRatio>2.25</hdrRatio>
</point>
</sdrHdrRatioMap>
</highBrightnessMode>
<ambientLightHorizonLong>3000</ambientLightHorizonLong>
<ambientLightHorizonShort>1000</ambientLightHorizonShort>
</displayConfiguration>