summaryrefslogtreecommitdiff
path: root/meta-lenovo/meta-hr855xg2/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/iio-hwmon-battery.conf
blob: 8c69aa5d1eebf7699d990038e231693dfdab6b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#"Copyright (c) 2019-present Lenovo
#Licensed under BSD-3, see COPYING.BSD file for details."

LABEL_in1=P3V_BAT
GAIN_in1=2.00

# GPIOS4 needs to be pulled high for battery voltage reading
GPIOCHIP_in1=0
GPIO_in1=148

# Read it every day so it does not impact battery life
INTERVAL=10