Sync code between branch
- Merge remote-tracking branch 'tizen_5.5' into 'tizen'
- Squashed commit to reflect the following changes:
commit
47a34ff11ed11f66d19aa4334348152303de1be0
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Wed May 27 15:36:20 2020 +0900
Separate parameter file for TW3
- Read model_name from model-config
- Link bm_power_profile_params_MODEL.json
- If there is no MODEL.json file, use dummy.json
- If other device has a plan to use batterymonitor,
measure their own parameter and make new package
Change-Id: Iffb00d4ef8aab80afe9b9c3be662d50823368200
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
3456f72a59868a09744c94f26ef9a6a1d1f016c5
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Thu Mar 26 11:37:41 2020 +0900
Update power profile parameters for TW3
- Parameters of disabled plugins are set to 0
Change-Id: I5ca35d14858e9af22cb9ca22a0b61d31b7f4a74c
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
6cb00737cf5e02df605004b55fd3256ba0330438
Merge: 32ec029 d06a26b
Author: Kunhoon Baik <knhoon.baik@samsung.com>
Date: Tue May 26 00:47:42 2020 +0000
Merge "Detach pthread after using it" into tizen_5.5
commit
d06a26b63d009260f68e89c3b8346e20c59d392b
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Mon May 25 12:12:37 2020 +0900
Detach pthread after using it
Change-Id: Id15d3b1943c95c669e2a44962d4cca23d6e55790
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
32ec0297d7e965e044d945a0c449de4569f7ef77
Merge: 0d2fb92 54eadfa
Author: Randeep Singh <randeep.s@samsung.com>
Date: Tue May 26 00:36:33 2020 +0000
Merge "[Non-ACR][Batterymonitor] BT scan initialization modified" into tizen_5.5
commit
54eadfa7dc989a682d0ae4a6a0567b21a93cbcee
Author: kamaljeet chauhan <kamal.jc@samsung.com>
Date: Sun May 24 20:55:05 2020 +0530
[Non-ACR][Batterymonitor] BT scan initialization modified
Change-Id: I5f7e0bc81900396c8f2b92067be4b7eef2440017
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
commit
0d2fb92893d24a33e05b71799c368cb62ea52556
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Thu May 21 17:54:13 2020 +0900
No more duplicate one-time used string from GVariant
Change-Id: Ie7aea4e8302c5f159afa13caef14c2f59c5d65f3
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
745afdac00ae63a342c86072392239745cd9f504
Author: Randeep Singh <randeep.s@samsung.com>
Date: Mon May 18 15:29:38 2020 +0530
[Non-ACR] added events & states for modem power
Change-Id: Ife5db285499536a2719a91ba80182107303ae2eb
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
commit
7da835c43985e72999d5049ae7a318d7945b55e6
Author: Abhishek Vijay <abhishek.v@samsung.com>
Date: Fri May 15 14:47:02 2020 +0530
[Non-ACR] add modem power state listener
Change-Id: I99664719e69106b8d5a556b89a8818f5ef180bf9
commit
b56dc10c90e8ae7f039de5c2339b9af7dc8b564b
Author: kamaljeet chauhan <kamal.jc@samsung.com>
Date: Sun May 17 18:21:19 2020 +0530
Modification in Listeners initialization
Change-Id: I2be142cfc3945456b2fd1269f14ab7e953cae2d1
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
commit
e8837fbfa67c04780e40533e18503106c6bfd955
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Fri May 15 12:17:12 2020 +0530
Add wr(wakereason) tag
Change-Id: I9db5835b3748d534ddc6a4c133bc2fe599bf1831
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
5525f210b090cec7746a667a6f0218224cdb2330
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Thu May 14 22:24:42 2020 +0530
Change print order
Change-Id: I3a089cf34369cbe7a73debd10868d719b7f28f86
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
859b233aac49dbbf10a12c2b34573348da6bccc5
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Thu May 14 18:28:01 2020 +0530
Fix: HSP sequence
Change-Id: I931a103bb6cc86974d2578e86f17132017ecf887
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
089fe2b09899adbb39f6eb251727d5eadc27a5c3
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Thu May 14 11:50:57 2020 +0530
Dumpsys Tag for sleep/wakeup
Change-Id: I350eec79af637922f27e3b4d74057daee19283b6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
1c5308c98409d599e5d6debbc31348a8db0e619f
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Thu May 14 11:18:04 2020 +0530
AC plug type for last charge
Change-Id: Ifff27e031c8cabd505e67eda0958cc5ae2572a99
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
b15ed76e109ca0fb4687bce74af19acd26191124
Author: kamaljeet chauhan <kamal.jc@samsung.com>
Date: Thu May 7 22:19:19 2020 +0530
Events related to Application status ,power lock and sleep/wakeup added
Change-Id: I49f2da929ba518fd27d0a563ad140b912e4eb8e5
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
commit
032f0425f89ca0a97e7c242b745c96dd23684d74
Merge: ec7555b 1adb528
Author: Randeep Singh <randeep.s@samsung.com>
Date: Wed May 13 05:08:20 2020 +0000
Merge "Integrate bm_atm_free" into tizen_5.5
commit
ec7555bd4113db815bf82686bfaf6226bb1440b4
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Tue May 12 12:30:10 2020 +0530
SVACE Fix
Change-Id: If00336758a96a6a4efd5bf0f732c4985de29c14d
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
0583bc2ebe5f5b1e3e634a6ea427611360d08484
Author: Randeep Singh <randeep.s@samsung.com>
Date: Mon May 11 18:05:08 2020 +0530
added check for missing resource
Change-Id: I5388e108da0850600c547ecf7d77d969bff528aa
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
commit
1adb528a3db104a541dbedb10e25ac26b5d081b1
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Mon May 11 11:12:15 2020 +0900
Integrate bm_atm_free
- st1_free and st2_free are same
- Now, st2_free isn't used
- So, remove one to increase function coverage
Change-Id: Id0cddd8099f3ed0051d30844242ba179df6bb972
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
70404116d6d81e5617006df16bf9e6868264d1df
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Fri May 8 14:50:21 2020 +0900
No more remove the ATM node of BLE usage via SAP
- It was removed to prevent considering it as app usage
- However, it doesn't be considered without removing it
Change-Id: I0d210fed851ba2005ddfd22c2989fc47cf4e8d8b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
c68237502d2f8629249e4bf35b482954d83c200c
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Wed May 6 20:02:45 2020 +0900
Update CPU usage checker configuration
Change-Id: I03d5cded93a8113d1cee47aac9ca0783856e2f10
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
fd8ae0c3641441c19cb6c60c6250f157b5bc8f2f
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Wed May 6 19:54:02 2020 +0900
Update CPU idle model
- Reset CPU idle counter on busy
- Threshold variance policy is changed
- On idle, decrease threshold with variance
- Initialize after idle accept count times
Change-Id: Ifdb04013689926e7cda512dbd1590817376b28bd
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
363210884fa54c2687a4e13f8703fd58cf14a1b4
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Wed May 6 11:41:57 2020 +0530
Prevent mem leak upon return
Change-Id: I1f2c10c47c619d756de7e1282a132defc2159f62
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
ce991b3b149dd0d0b131b8caf4a3d76f3601e945
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Mon May 4 17:20:06 2020 +0530
Battery Last Charge time
Change-Id: I4de8f8bd9897c2e7c61f59037d0643c1f168d81a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
133c967c14eea03ad0cc952900d2e54f24421d44
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Fri May 1 16:14:44 2020 +0530
Correct code align
Change-Id: Ib17fabd11b5c53daaa3faabd68c22a91dfe3ffc9
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
514f8a1d2d6a1452927b9d55540431a16a2aaccb
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Wed Apr 29 19:24:08 2020 +0900
Fix memory leak
Change-Id: I55e40606d05d0231c3e4db8abfcf95ce1d413ff7
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
660861076184a6a3646c3e96ff37974e92296ae1
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Wed Apr 29 18:54:20 2020 +0900
Don't allocate dynamic memory for app/res usage
- We need to free these variables below
- app_usage->AppId
- res_usage->ResourceId
- But, if they are freed on usage_free function,
crash occurs because some code try to free
without dynamic memory allocation
- Not to use usage_free function, declare without
dynamic memory allocation and don't free it
Change-Id: I777f8408dcbc64da173f3edcf20d30a9aa932ad0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
f592cf82a585c450de42f4bf8b469559979994b4
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Wed Apr 29 12:04:08 2020 +0530
Correct AppId duplication
Change-Id: I8218a4af0436d2ba1743d321a647a0eef8859a2f
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
353dbdd71c0c15c9a12a78db2655b85300051e9e
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Tue Apr 28 12:00:26 2020 +0530
Correct for last charge in runtime
Change-Id: I53df84feb058e42f22aca230c1357acabd25966e
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
6b4cdadc35ad14ac929acf86be9eff4a015cbe46
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Mon Apr 27 14:42:09 2020 +0530
Correct rx & tx time
Change-Id: I608992436db3a20469848a33c60f4a247d005ca2
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
31759f61ff9c3039d3fbb3cbed9fb342c46e9b4c
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Mon Apr 27 11:41:31 2020 +0530
Chnage usage to mah
Change-Id: I513b1fb7aabdd3c192f89898ab23e50517c73082
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
7e0b00ff75626818ebd1e2afce710b73e9a025ce
Merge: cb4dee7 37a91a6
Author: Randeep Singh <randeep.s@samsung.com>
Date: Mon Apr 27 04:06:48 2020 +0000
Merge "Add Base System Battery Usage Dump" into tizen_5.5
commit
37a91a61388eb4a49293748d163bb21f2518ee39
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Fri Apr 24 12:09:20 2020 +0530
Add Base System Battery Usage Dump
Change-Id: I8c2d97b864393d34293a4f44391b8c15fcfcbc8c
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit
cb4dee786ac9da6d4afd649a467ffa585ab29e6b
Merge: f89fc8f c0a3b33
Author: Randeep Singh <randeep.s@samsung.com>
Date: Thu Apr 23 12:24:56 2020 +0000
Merge "Record System base usage" into tizen_5.5
commit
f89fc8f23699d9607a1137e6ece64584acf6c424
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date: Tue Apr 21 16:23:38 2020 +0900
Dump BT/Wi-Fi usage as bytes per minute
- In addition, check period parameters to prevent divide by zero
Change-Id: I6b50f755961418b2eb63bcec6d063c4723f3067b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit
c0a3b331e9bb3bca6c8ef139f86af1eb09a49791
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date: Mon Apr 20 18:52:25 2020 +0530
Record System base usage
Change-Id: Ib62082b047e4a2d39fa2b3e2bfad6e6019ce1e10
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
Change-Id: Id9f7b7a88f3ebff29f67c3f60d3a686afcbda996