18c2ecf20Sopenharmony_ciDialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciOptional properties: 78c2ecf20Sopenharmony_ci- dlg,update-interval: Interval time (milliseconds) between battery level checks. 88c2ecf20Sopenharmony_ci- dlg,warn-soc-level: Battery discharge level (%) where warning event raised. 98c2ecf20Sopenharmony_ci [1 - 100] 108c2ecf20Sopenharmony_ci- dlg,crit-soc-level: Battery discharge level (%) where critical event raised. 118c2ecf20Sopenharmony_ci This value should be lower than the warning level. 128c2ecf20Sopenharmony_ci [1 - 100] 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciExample: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci fuel-gauge { 188c2ecf20Sopenharmony_ci compatible = "dlg,da9150-fuel-gauge"; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci dlg,update-interval = <10000>; 218c2ecf20Sopenharmony_ci dlg,warn-soc-level = /bits/ 8 <15>; 228c2ecf20Sopenharmony_ci dlg,crit-soc-level = /bits/ 8 <5>; 238c2ecf20Sopenharmony_ci }; 24