• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import /vendor/etc/init/hw/init.wahoo.usb.rc
2
3on boot && property:ro.bootmode=usbradio && property:persist.sys.usb.usbradio.config=*
4    setprop sys.usb.config "none"
5    setprop sys.usb.config ${persist.sys.usb.usbradio.config}
6
7# battery driver settings for the retail demo environment where
8# the device will be perpertually plugged in to a power source
9on property:sys.retaildemo.enabled=1
10    write /sys/module/htc_battery/parameters/full_level_dis_chg 35
11
12on property:sys.retaildemo.enabled=0
13    write /sys/module/htc_battery/parameters/full_level_dis_chg 100
14