Index: ModuleDemo/25_OTA/bt_demo/BT/patch/patch.prog
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/BT/patch/patch.prog	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/BT/patch/patch.prog	(working copy)
@@ -233,7 +233,7 @@
 else
 	call wdt_disable_watchdog
 endif //FUNCTION_WATCH_DOG
-
+	call p_set_gpio_after_lpm,wake
 	arg CLOCK_OFF_MRAM,queue
 	call clk_on
 	// Be-careful, mark register may loss, reason unknow.
@@ -267,10 +267,11 @@
 	fetch 1,mem_tx_power
 //	beq TX_POWER_0DB,p_initialize_radio_tx_power_0db
 ifdef ENABLE_F3DB
-	beq TX_POWER_f3DB,p_initialize_radio_tx_power_f3db	
+	beq TX_POWER_f3DB,p_initialize_radio_tx_power_f3db
+	beq TX_POWER_f5DB,p_initialize_radio_tx_power_f5db	
 endif // ENABLE_F3DB
 	beq TX_POWER_3DB,p_initialize_radio_tx_power_3db	
-	beq TX_POWER_f5DB,p_initialize_radio_tx_power_f5db	
+	
 	beq TX_POWER_5DB,p_initialize_radio_tx_power_5db
 ifdef ENABLE_8DB
 	beq TX_POWER_8DB,p_initialize_radio_tx_power_8db	
Index: ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx	(working copy)
@@ -466,6 +466,18 @@
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
+    <File>
+      <GroupNumber>3</GroupNumber>
+      <FileNumber>16</FileNumber>
+      <FileType>1</FileType>
+      <tvExp>0</tvExp>
+      <tvExpOptDlg>0</tvExpOptDlg>
+      <bDave2>0</bDave2>
+      <PathWithFileName>..\..\User\device\battery\yc11xx_dev_battery.c</PathWithFileName>
+      <FilenameWithoutPath>yc11xx_dev_battery.c</FilenameWithoutPath>
+      <RteFlg>0</RteFlg>
+      <bShared>0</bShared>
+    </File>
   </Group>
 
 </ProjectOpt>
Index: ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx	(working copy)
@@ -338,7 +338,7 @@
               <MiscControls>--c99 --gnu</MiscControls>
               <Define></Define>
               <Undefine></Undefine>
-              <IncludePath>..\..\..\..\..\..\Librarier\device;..\..\User\hci;..\..\..\..\..\..\Librarier\drivers\uart;..\..\..\..\..\..\Librarier\drivers\gpio;..\..\..\..\..\..\Librarier\drivers\debug;..\..\..\..\..\..\Librarier\drivers\bt;..\..\..\..\..\..\Librarier\drivers\timer;..\..\..\..\..\..\Librarier\drivers\systick;..\..\..\..\..\..\Librarier\drivers\hal;..\..\..\..\..\..\Librarier\drivers\wdt;..\..\User</IncludePath>
+              <IncludePath>..\..\..\..\..\..\Librarier\device;..\..\User\hci;..\..\..\..\..\..\Librarier\drivers\uart;..\..\..\..\..\..\Librarier\drivers\gpio;..\..\..\..\..\..\Librarier\drivers\debug;..\..\..\..\..\..\Librarier\drivers\bt;..\..\..\..\..\..\Librarier\drivers\timer;..\..\..\..\..\..\Librarier\drivers\systick;..\..\..\..\..\..\Librarier\drivers\hal;..\..\..\..\..\..\Librarier\drivers\wdt;..\..\User;..\..\User\device\battery</IncludePath>
             </VariousControls>
           </Cads>
           <Aads>
@@ -467,6 +467,11 @@
               <FileType>1</FileType>
               <FilePath>..\..\..\..\..\..\Librarier\drivers\wdt\yc11xx_wdt.c</FilePath>
             </File>
+            <File>
+              <FileName>yc11xx_dev_battery.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\..\User\device\battery\yc11xx_dev_battery.c</FilePath>
+            </File>
           </Files>
         </Group>
       </Groups>
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/main.c
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(working copy)
@@ -64,8 +64,8 @@
 	h4_init();
 
 	sleep_500ms;
-//	LPM_ENABLE;
-//	POWER_OFF;
+	LPM_ENABLE;
+	POWER_OFF;
 	while (1)
 	{
 #ifdef FUNCTION_WATCH_DOG
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom	(working copy)
@@ -215,11 +215,12 @@
 204000d8
 20202bd8
 20405900
+2055818d
 d8e00009
 20407357
-205580e4
+205580e5
 70894bba
-204000ec
+204000ed
 708907ff
 20402a70
 70895074
@@ -236,7 +237,6 @@
 20600000
 6fe242b4
 c00080f0
-c00200f6
 c00100f0
 5888e0d0
 67e68955
@@ -285,7 +285,7 @@
 20402a7b
 58000250
 20402bb1
-204000ec
+204000ed
 6fe28906
 79207e00
 67e28906
