122d4c33fSNeilBrownWhat: /sys/class/power_supply/twl4030_usb/mode 222d4c33fSNeilBrownDescription: 322d4c33fSNeilBrown Changing mode for USB port. 422d4c33fSNeilBrown Writing to this can disable charging. 522d4c33fSNeilBrown 622d4c33fSNeilBrown Possible values are: 7*34433332SMauro Carvalho Chehab 8*34433332SMauro Carvalho Chehab ============= =========================================== 9*34433332SMauro Carvalho Chehab "auto" draw power as appropriate for detected 1022d4c33fSNeilBrown power source and battery status. 11*34433332SMauro Carvalho Chehab "off" do not draw any power. 12*34433332SMauro Carvalho Chehab "continuous" activate mode described as "linear" in 137f4a633dSNeilBrown TWL data sheets. This uses whatever 147f4a633dSNeilBrown current is available and doesn't switch off 157f4a633dSNeilBrown when voltage drops. 167f4a633dSNeilBrown 177f4a633dSNeilBrown This is useful for unstable power sources 187f4a633dSNeilBrown such as bicycle dynamo, but care should 197f4a633dSNeilBrown be taken that battery is not over-charged. 20*34433332SMauro Carvalho Chehab ============= =========================================== 21b04b908dSNeilBrown 22b04b908dSNeilBrownWhat: /sys/class/power_supply/twl4030_ac/mode 23b04b908dSNeilBrownDescription: 24b04b908dSNeilBrown Changing mode for 'ac' port. 25b04b908dSNeilBrown Writing to this can disable charging. 26b04b908dSNeilBrown 27b04b908dSNeilBrown Possible values are: 28*34433332SMauro Carvalho Chehab 29*34433332SMauro Carvalho Chehab ====== =========================================== 30*34433332SMauro Carvalho Chehab "auto" draw power as appropriate for detected 31b04b908dSNeilBrown power source and battery status. 32*34433332SMauro Carvalho Chehab "off" do not draw any power. 33*34433332SMauro Carvalho Chehab ====== =========================================== 34