Create a schematic for A power supply circuit. 

libSymbols:
- Connector:Conn_01x01_Pin
- Device:C_Polarized_Small
- Device:C_Small
- Device:D_Schottky_Small
- Device:L
- Device:LED
- Device:R_Small
- PCM_4ms_Transistor:MBT3906DW1
- Switch:SW_SPDT
- TP5400:TP5400
- Transistor_FET:AO3401A
- power:+5V
- power:GND
schematicSymbols:
- libraryNickname: power
  entryName: +5V
  position:
    x: 50.165
    y: 97.155
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 50.165
      y: 100.965
      angle: 0
  - key: Value
    value: +5V
    position:
      x: 50.165
      y: 93.345
      angle: 0
- libraryNickname: Device
  entryName: R_Small
  position:
    x: 74.93
    y: 31.115
    angle: 180
  properties:
  - key: Reference
    value: R20
    position:
      x: 76.4286
      y: 29.9466
      angle: 0
  - key: Value
    value: 2K
    position:
      x: 76.4286
      y: 32.258
      angle: 0
- libraryNickname: Device
  entryName: L
  position:
    x: 196.85
    y: 34.925
    angle: 180
  properties:
  - key: Reference
    value: L1
    position:
      x: 197.9676
      y: 33.7566
      angle: 0
  - key: Value
    value: 10uH
    position:
      x: 197.9676
      y: 36.068
      angle: 0
- libraryNickname: TP5400
  entryName: TP5400
  position:
    x: 119.38
    y: 48.895
    angle: 0
  properties:
  - key: Reference
    value: U4
    position:
      x: 119.38
      y: 37.465
      angle: 0
  - key: Value
    value: TP5400
    position:
      x: 119.38
      y: 40.005
      angle: 0
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 149.86
    y: 60.325
    angle: 0
  properties:
  - key: Reference
    value: C5
    position:
      x: 152.1968
      y: 59.1566
      angle: 0
  - key: Value
    value: 22uF
    position:
      x: 152.1968
      y: 61.468
      angle: 0
- libraryNickname: Device
  entryName: R_Small
  position:
    x: 228.6
    y: 57.785
    angle: 180
  properties:
  - key: Reference
    value: R3
    position:
      x: 230.0986
      y: 56.6166
      angle: 0
  - key: Value
    value: 47K
    position:
      x: 230.0986
      y: 58.928
      angle: 0
- libraryNickname: PCM_4ms_Transistor
  entryName: MBT3906DW1
  position:
    x: 220.98
    y: 41.275
    angle: 180
  properties:
  - key: Reference
    value: Q2
    position:
      x: 215.9
      y: 39.37
      angle: 0
  - key: Value
    value: BCM857BS
    position:
      x: 215.9
      y: 41.91
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 156.21
    y: 69.215
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 156.21
      y: 75.565
      angle: 0
  - key: Value
    value: GND
    position:
      x: 156.21
      y: 73.025
      angle: 0
- libraryNickname: Device
  entryName: R_Small
  position:
    x: 218.44
    y: 57.785
    angle: 180
  properties:
  - key: Reference
    value: R3
    position:
      x: 219.9386
      y: 56.6166
      angle: 0
  - key: Value
    value: 10K
    position:
      x: 219.9386
      y: 58.928
      angle: 0
- libraryNickname: Device
  entryName: D_Schottky_Small
  position:
    x: 149.86
    y: 34.925
    angle: 270
  properties:
  - key: Reference
    value: D7
    position:
      x: 152.4
      y: 34.036
      angle: 90
  - key: Value
    value: SS32
    position:
      x: 152.4
      y: 36.576
      angle: 90
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 162.56
    y: 60.325
    angle: 0
  properties:
  - key: Reference
    value: C5
    position:
      x: 164.8968
      y: 59.1566
      angle: 0
  - key: Value
    value: 22uF
    position:
      x: 164.8968
      y: 61.468
      angle: 0
- libraryNickname: Connector
  entryName: Conn_01x01_Pin
  position:
    x: 180.34
    y: 67.945
    angle: 0
  properties:
  - key: Reference
    value: J4
    position:
      x: 179.705
      y: 72.39
      angle: 0
  - key: Value
    value: Battery_18650_Minus
    position:
      x: 179.705
      y: 69.85
      angle: 0
- libraryNickname: Switch
  entryName: SW_SPDT
  position:
    x: 41.91
    y: 102.87
    angle: 0
  properties:
  - key: Reference
    value: SW3
    position:
      x: 41.91
      y: 95.25
      angle: 0
  - key: Value
    value: SW_SPDT
    position:
      x: 41.91
      y: 97.79
      angle: 0
- libraryNickname: Device
  entryName: LED
  position:
    x: 74.93
    y: 40.005
    angle: 270
  properties:
  - key: Reference
    value: D2
    position:
      x: 71.9328
      y: 39.0144
      angle: 90
  - key: Value
    value: LED_STDBY
    position:
      x: 71.9328
      y: 41.3258
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 223.52
    y: 64.135
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 223.52
      y: 70.485
      angle: 0
  - key: Value
    value: GND
    position:
      x: 223.52
      y: 67.945
      angle: 0
- libraryNickname: Device
  entryName: C_Polarized_Small
  position:
    x: 175.26
    y: 34.29
    angle: 0
  properties:
  - key: Reference
    value: C37
    position:
      x: 177.8
      y: 33.1089
      angle: 0
  - key: Value
    value: 47uF
    position:
      x: 177.8
      y: 35.6489
      angle: 0
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 162.56
    y: 34.29
    angle: 0
  properties:
  - key: Reference
    value: C5
    position:
      x: 164.8968
      y: 33.1216
      angle: 0
  - key: Value
    value: 100nF
    position:
      x: 164.8968
      y: 35.433
      angle: 0
- libraryNickname: Connector
  entryName: Conn_01x01_Pin
  position:
    x: 180.34
    y: 52.705
    angle: 180
  properties:
  - key: Reference
    value: J3
    position:
      x: 179.705
      y: 48.26
      angle: 0
  - key: Value
    value: Battery_18650_Plus
    position:
      x: 179.705
      y: 50.8
      angle: 0
- libraryNickname: PCM_4ms_Transistor
  entryName: MBT3906DW1
  position:
    x: 236.22
    y: 41.275
    angle: 0
  properties:
  - key: Reference
    value: Q2
    position:
      x: 241.3
      y: 39.37
      angle: 0
  - key: Value
    value: BCM857BS
    position:
      x: 241.3
      y: 41.91
      angle: 0
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 137.16
    y: 60.325
    angle: 0
  properties:
  - key: Reference
    value: C5
    position:
      x: 139.4968
      y: 59.1566
      angle: 0
  - key: Value
    value: 100nF
    position:
      x: 139.4968
      y: 61.468
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 168.91
    y: 41.275
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 168.91
      y: 47.625
      angle: 0
  - key: Value
    value: GND
    position:
      x: 168.91
      y: 45.085
      angle: 0
- libraryNickname: Device
  entryName: R_Small
  position:
    x: 92.71
    y: 31.115
    angle: 180
  properties:
  - key: Reference
    value: R21
    position:
      x: 94.2086
      y: 29.9466
      angle: 0
  - key: Value
    value: 2K
    position:
      x: 94.2086
      y: 32.258
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 110.49
    y: 69.215
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 110.49
      y: 75.565
      angle: 0
  - key: Value
    value: GND
    position:
      x: 110.49
      y: 73.025
      angle: 0
- libraryNickname: Device
  entryName: LED
  position:
    x: 92.71
    y: 40.005
    angle: 270
  properties:
  - key: Reference
    value: D2
    position:
      x: 89.7128
      y: 39.0144
      angle: 90
  - key: Value
    value: LED_CHRG
    position:
      x: 89.7128
      y: 41.3258
      angle: 90
- libraryNickname: Device
  entryName: R_Small
  position:
    x: 101.6
    y: 57.785
    angle: 180
  properties:
  - key: Reference
    value: R3
    position:
      x: 103.0986
      y: 56.6166
      angle: 0
  - key: Value
    value: 1.2K
    position:
      x: 103.0986
      y: 58.928
      angle: 0
- libraryNickname: Transistor_FET
  entryName: AO3401A
  position:
    x: 228.6
    y: 32.385
    angle: 90
  properties:
  - key: Reference
    value: Q3
    position:
      x: 228.6
      y: 23.6982
      angle: 90
  - key: Value
    value: AO3401A
    position:
      x: 228.6
      y: 26.0096
      angle: 90
junctions:
- position:
    x: 74.93
    y: 23.495
    angle: 0
- position:
    x: 218.44
    y: 29.845
    angle: 0
- position:
    x: 223.52
    y: 62.865
    angle: 0
- position:
    x: 156.21
    y: 67.945
    angle: 0
- position:
    x: 149.86
    y: 67.945
    angle: 0
- position:
    x: 162.56
    y: 28.575
    angle: 0
- position:
    x: 162.56
    y: 67.945
    angle: 0
- position:
    x: 175.26
    y: 28.575
    angle: 0
- position:
    x: 110.49
    y: 67.945
    angle: 0
- position:
    x: 162.56
    y: 52.705
    angle: 0
- position:
    x: 92.71
    y: 23.495
    angle: 0
- position:
    x: 137.16
    y: 52.705
    angle: 0
- position:
    x: 228.6
    y: 52.705
    angle: 0
- position:
    x: 218.44
    y: 48.895
    angle: 0
- position:
    x: 238.76
    y: 29.845
    angle: 0
- position:
    x: 149.86
    y: 28.575
    angle: 0
- position:
    x: 149.86
    y: 52.705
    angle: 0
- position:
    x: 168.91
    y: 40.005
    angle: 0
- position:
    x: 226.06
    y: 48.895
    angle: 0
noConnects:
- position:
    x: 46.99
    y: 105.41
    angle: null
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 92.71
    y: 43.815
  - x: 92.71
    y: 47.625
- type: wire
  points:
  - x: 196.85
    y: 31.115
  - x: 196.85
    y: 28.575
- type: wire
  points:
  - x: 68.58
    y: 23.495
  - x: 74.93
    y: 23.495
- type: wire
  points:
  - x: 238.76
    y: 29.845
  - x: 238.76
    y: 36.195
- type: wire
  points:
  - x: 50.165
    y: 100.33
  - x: 50.165
    y: 97.155
- type: wire
  points:
  - x: 149.86
    y: 57.785
  - x: 149.86
    y: 52.705
- type: wire
  points:
  - x: 137.16
    y: 67.945
  - x: 149.86
    y: 67.945
- type: wire
  points:
  - x: 162.56
    y: 57.785
  - x: 162.56
    y: 52.705
- type: wire
  points:
  - x: 92.71
    y: 23.495
  - x: 92.71
    y: 28.575
- type: wire
  points:
  - x: 218.44
    y: 29.845
  - x: 218.44
    y: 36.195
- type: wire
  points:
  - x: 162.56
    y: 36.83
  - x: 162.56
    y: 40.005
- type: wire
  points:
  - x: 223.52
    y: 62.865
  - x: 228.6
    y: 62.865
- type: wire
  points:
  - x: 162.56
    y: 28.575
  - x: 175.26
    y: 28.575
- type: wire
  points:
  - x: 149.86
    y: 67.945
  - x: 156.21
    y: 67.945
- type: wire
  points:
  - x: 218.44
    y: 23.495
  - x: 218.44
    y: 29.845
- type: wire
  points:
  - x: 233.68
    y: 29.845
  - x: 238.76
    y: 29.845
- type: wire
  points:
  - x: 137.16
    y: 52.705
  - x: 137.16
    y: 57.785
- type: wire
  points:
  - x: 226.06
    y: 48.895
  - x: 226.06
    y: 41.275
- type: wire
  points:
  - x: 228.6
    y: 52.705
  - x: 238.76
    y: 52.705
- type: wire
  points:
  - x: 168.91
    y: 40.005
  - x: 168.91
    y: 41.275
- type: wire
  points:
  - x: 218.44
    y: 46.355
  - x: 218.44
    y: 48.895
- type: wire
  points:
  - x: 101.6
    y: 67.945
  - x: 110.49
    y: 67.945
- type: wire
  points:
  - x: 228.6
    y: 62.865
  - x: 228.6
    y: 60.325
- type: wire
  points:
  - x: 45.72
    y: 23.495
  - x: 52.07
    y: 23.495
- type: wire
  points:
  - x: 119.38
    y: 60.325
  - x: 119.38
    y: 67.945
- type: wire
  points:
  - x: 50.165
    y: 100.33
  - x: 46.99
    y: 100.33
- type: wire
  points:
  - x: 104.14
    y: 23.495
  - x: 104.14
    y: 45.085
- type: wire
  points:
  - x: 196.85
    y: 41.275
  - x: 194.31
    y: 41.275
- type: wire
  points:
  - x: 133.35
    y: 48.895
  - x: 137.16
    y: 48.895
- type: wire
  points:
  - x: 162.56
    y: 28.575
  - x: 149.86
    y: 28.575
- type: wire
  points:
  - x: 226.06
    y: 48.895
  - x: 231.14
    y: 48.895
- type: wire
  points:
  - x: 149.86
    y: 62.865
  - x: 149.86
    y: 67.945
- type: wire
  points:
  - x: 238.76
    y: 29.845
  - x: 242.57
    y: 29.845
- type: wire
  points:
  - x: 74.93
    y: 43.815
  - x: 74.93
    y: 50.165
- type: wire
  points:
  - x: 168.91
    y: 40.005
  - x: 175.26
    y: 40.005
- type: wire
  points:
  - x: 137.16
    y: 62.865
  - x: 137.16
    y: 67.945
- type: wire
  points:
  - x: 133.35
    y: 52.705
  - x: 137.16
    y: 52.705
- type: wire
  points:
  - x: 228.6
    y: 37.465
  - x: 228.6
    y: 52.705
- type: wire
  points:
  - x: 218.44
    y: 62.865
  - x: 223.52
    y: 62.865
- type: wire
  points:
  - x: 101.6
    y: 60.325
  - x: 101.6
    y: 67.945
- type: wire
  points:
  - x: 149.86
    y: 37.465
  - x: 149.86
    y: 41.275
- type: wire
  points:
  - x: 105.41
    y: 52.705
  - x: 101.6
    y: 52.705
- type: wire
  points:
  - x: 101.6
    y: 52.705
  - x: 101.6
    y: 55.245
- type: wire
  points:
  - x: 223.52
    y: 62.865
  - x: 223.52
    y: 64.135
- type: wire
  points:
  - x: 231.14
    y: 41.275
  - x: 231.14
    y: 48.895
- type: wire
  points:
  - x: 218.44
    y: 48.895
  - x: 218.44
    y: 55.245
- type: wire
  points:
  - x: 218.44
    y: 29.845
  - x: 223.52
    y: 29.845
- type: wire
  points:
  - x: 162.56
    y: 52.705
  - x: 149.86
    y: 52.705
- type: wire
  points:
  - x: 110.49
    y: 67.945
  - x: 119.38
    y: 67.945
- type: wire
  points:
  - x: 196.85
    y: 38.735
  - x: 196.85
    y: 41.275
- type: wire
  points:
  - x: 218.44
    y: 48.895
  - x: 226.06
    y: 48.895
- type: wire
  points:
  - x: 105.41
    y: 45.085
  - x: 104.14
    y: 45.085
- type: wire
  points:
  - x: 156.21
    y: 67.945
  - x: 162.56
    y: 67.945
- type: wire
  points:
  - x: 156.21
    y: 67.945
  - x: 156.21
    y: 69.215
- type: wire
  points:
  - x: 105.41
    y: 47.625
  - x: 92.71
    y: 47.625
- type: wire
  points:
  - x: 228.6
    y: 52.705
  - x: 228.6
    y: 55.245
- type: wire
  points:
  - x: 175.26
    y: 36.83
  - x: 175.26
    y: 40.005
- type: wire
  points:
  - x: 162.56
    y: 40.005
  - x: 168.91
    y: 40.005
- type: wire
  points:
  - x: 196.85
    y: 28.575
  - x: 194.31
    y: 28.575
- type: wire
  points:
  - x: 149.86
    y: 32.385
  - x: 149.86
    y: 28.575
- type: wire
  points:
  - x: 149.86
    y: 41.275
  - x: 147.32
    y: 41.275
- type: wire
  points:
  - x: 74.93
    y: 50.165
  - x: 105.41
    y: 50.165
- type: wire
  points:
  - x: 133.35
    y: 45.085
  - x: 137.16
    y: 45.085
- type: wire
  points:
  - x: 162.56
    y: 31.75
  - x: 162.56
    y: 28.575
- type: wire
  points:
  - x: 137.16
    y: 52.705
  - x: 149.86
    y: 52.705
- type: wire
  points:
  - x: 74.93
    y: 28.575
  - x: 74.93
    y: 23.495
- type: wire
  points:
  - x: 175.26
    y: 28.575
  - x: 179.07
    y: 28.575
- type: wire
  points:
  - x: 74.93
    y: 23.495
  - x: 92.71
    y: 23.495
- type: wire
  points:
  - x: 74.93
    y: 33.655
  - x: 74.93
    y: 36.195
- type: wire
  points:
  - x: 162.56
    y: 62.865
  - x: 162.56
    y: 67.945
- type: wire
  points:
  - x: 33.02
    y: 102.87
  - x: 36.83
    y: 102.87
- type: wire
  points:
  - x: 218.44
    y: 60.325
  - x: 218.44
    y: 62.865
- type: wire
  points:
  - x: 162.56
    y: 52.705
  - x: 175.26
    y: 52.705
- type: wire
  points:
  - x: 104.14
    y: 23.495
  - x: 92.71
    y: 23.495
- type: wire
  points:
  - x: 110.49
    y: 67.945
  - x: 110.49
    y: 69.215
- type: wire
  points:
  - x: 238.76
    y: 46.355
  - x: 238.76
    y: 52.705
- type: wire
  points:
  - x: 213.36
    y: 23.495
  - x: 218.44
    y: 23.495
- type: wire
  points:
  - x: 162.56
    y: 67.945
  - x: 175.26
    y: 67.945
- type: wire
  points:
  - x: 175.26
    y: 28.575
  - x: 175.26
    y: 31.75
- type: wire
  points:
  - x: 149.86
    y: 28.575
  - x: 147.32
    y: 28.575
- type: wire
  points:
  - x: 92.71
    y: 33.655
  - x: 92.71
    y: 36.195
globalLabels:
- text: _USB_DEVICE_HOST_VBUS
  shape: input
  position:
    x: 45.72
    y: 23.495
    angle: 180
sheetInstances: []
