platform/core/system/batterymonitor.git
4 years agoMerge "[Non-ACR] adding dependency(telephony daemon)" into tizen_5.5
Abhishek Vijay [Wed, 10 Jun 2020 07:09:47 +0000 (07:09 +0000)]
Merge "[Non-ACR] adding dependency(telephony daemon)" into tizen_5.5

4 years agoUncomment misc field 16/235816/1
Dewal Agarwal [Thu, 4 Jun 2020 07:15:51 +0000 (12:45 +0530)]
Uncomment misc field

Change-Id: I8fbbe86b0ab7d09ec9deec2052928c04058fd3c2
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
(cherry picked from commit 311037fd551f2a674d1e4a5809fad0f15e876d7d)

4 years ago[Non-ACR] adding dependency(telephony daemon) 70/235770/1
Abhishek Vijay [Tue, 9 Jun 2020 13:19:05 +0000 (18:49 +0530)]
[Non-ACR] adding dependency(telephony daemon)

Change-Id: Iec1a101637721b4dc4e0829d742cc3c6d3a6d4c1
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoSeparate parameter file for TW3 65/234565/4
Kichan Kwon [Wed, 27 May 2020 06:36:20 +0000 (15:36 +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>
4 years agoUpdate power profile parameters for TW3 94/234494/1
Kichan Kwon [Thu, 26 Mar 2020 02:37:41 +0000 (11:37 +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>
4 years agoMerge "Detach pthread after using it" into tizen_5.5 accepted/tizen/5.5/unified/20200526.224045 submit/tizen_5.5/20200526.005048
Kunhoon Baik [Tue, 26 May 2020 00:47:42 +0000 (00:47 +0000)]
Merge "Detach pthread after using it" into tizen_5.5

4 years agoDetach pthread after using it 77/234277/3
Kichan Kwon [Mon, 25 May 2020 03:12:37 +0000 (12:12 +0900)]
Detach pthread after using it

Change-Id: Id15d3b1943c95c669e2a44962d4cca23d6e55790
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoMerge "[Non-ACR][Batterymonitor] BT scan initialization modified" into tizen_5.5
Randeep Singh [Tue, 26 May 2020 00:36:33 +0000 (00:36 +0000)]
Merge "[Non-ACR][Batterymonitor] BT scan initialization modified" into tizen_5.5

4 years ago[Non-ACR][Batterymonitor] BT scan initialization modified 48/234248/1
kamaljeet chauhan [Sun, 24 May 2020 15:25:05 +0000 (20:55 +0530)]
[Non-ACR][Batterymonitor] BT scan initialization modified

Change-Id: I5f7e0bc81900396c8f2b92067be4b7eef2440017
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
4 years agoNo more duplicate one-time used string from GVariant 55/234055/1
Kichan Kwon [Thu, 21 May 2020 08:54:13 +0000 (17:54 +0900)]
No more duplicate one-time used string from GVariant

Change-Id: Ie7aea4e8302c5f159afa13caef14c2f59c5d65f3
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years ago[Non-ACR] added events & states for modem power 10/233710/7 accepted/tizen/5.5/unified/20200521.163211 submit/tizen_5.5/20200521.023747
Randeep Singh [Mon, 18 May 2020 09:59:38 +0000 (15:29 +0530)]
[Non-ACR] added events & states for modem power

Change-Id: Ife5db285499536a2719a91ba80182107303ae2eb
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
4 years ago[Non-ACR] add modem power state listener 54/233554/5
Abhishek Vijay [Fri, 15 May 2020 09:17:02 +0000 (14:47 +0530)]
[Non-ACR] add modem power state listener

Change-Id: I99664719e69106b8d5a556b89a8818f5ef180bf9

4 years agoModification in Listeners initialization 19/233619/1 accepted/tizen/5.5/unified/20200518.160950 submit/tizen_5.5/20200517.160518
kamaljeet chauhan [Sun, 17 May 2020 12:51:19 +0000 (18:21 +0530)]
Modification in Listeners initialization

Change-Id: I2be142cfc3945456b2fd1269f14ab7e953cae2d1
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
4 years agoAdd wr(wakereason) tag 18/233518/2
Dewal Agarwal [Fri, 15 May 2020 06:47:12 +0000 (12:17 +0530)]
Add wr(wakereason) tag

Change-Id: I9db5835b3748d534ddc6a4c133bc2fe599bf1831
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoChange print order 43/233443/1 accepted/tizen/5.5/unified/20200514.230351 submit/tizen_5.5/20200514.170112
Dewal Agarwal [Thu, 14 May 2020 16:54:42 +0000 (22:24 +0530)]
Change print order

Change-Id: I3a089cf34369cbe7a73debd10868d719b7f28f86
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoFix: HSP sequence 25/233425/1
Dewal Agarwal [Thu, 14 May 2020 12:58:01 +0000 (18:28 +0530)]
Fix: HSP sequence

Change-Id: I931a103bb6cc86974d2578e86f17132017ecf887
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoDumpsys Tag for sleep/wakeup 55/233355/1
Dewal Agarwal [Thu, 14 May 2020 06:20:57 +0000 (11:50 +0530)]
Dumpsys Tag for sleep/wakeup

Change-Id: I350eec79af637922f27e3b4d74057daee19283b6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoAC plug type for last charge 46/233346/2
Dewal Agarwal [Thu, 14 May 2020 05:48:04 +0000 (11:18 +0530)]
AC plug type for last charge

Change-Id: Ifff27e031c8cabd505e67eda0958cc5ae2572a99
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoEvents related to Application status ,power lock and sleep/wakeup added 99/232899/5 accepted/tizen/5.5/unified/20200514.032145 submit/tizen_5.5/20200513.145941
kamaljeet chauhan [Thu, 7 May 2020 16:49:19 +0000 (22:19 +0530)]
Events related to Application status ,power lock and sleep/wakeup added

Change-Id: I49f2da929ba518fd27d0a563ad140b912e4eb8e5
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
4 years agoMerge "Integrate bm_atm_free" into tizen_5.5 accepted/tizen/5.5/unified/20200513.143940 submit/tizen_5.5/20200513.051042
Randeep Singh [Wed, 13 May 2020 05:08:20 +0000 (05:08 +0000)]
Merge "Integrate bm_atm_free" into tizen_5.5

4 years agoSVACE Fix 98/233098/1 submit/tizen_5.5/20200512.104717 submit/tizen_5.5/20200513.042906
Dewal Agarwal [Tue, 12 May 2020 07:00:10 +0000 (12:30 +0530)]
SVACE Fix

Change-Id: If00336758a96a6a4efd5bf0f732c4985de29c14d
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoadded check for missing resource 37/233037/1
Randeep Singh [Mon, 11 May 2020 12:35:08 +0000 (18:05 +0530)]
added check for missing resource

Change-Id: I5388e108da0850600c547ecf7d77d969bff528aa
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
4 years agoIntegrate bm_atm_free 61/232961/1
Kichan Kwon [Mon, 11 May 2020 02:12:15 +0000 (11:12 +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>
4 years agoNo more remove the ATM node of BLE usage via SAP 82/232882/1 accepted/tizen/5.5/unified/20200508.071413 submit/tizen_5.5/20200508.064108 submit/tizen_5.5/20200508.071207
Kichan Kwon [Fri, 8 May 2020 05:50:21 +0000 (14:50 +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>
4 years agoUpdate CPU usage checker configuration 73/232573/3
Kichan Kwon [Wed, 6 May 2020 11:02:45 +0000 (20:02 +0900)]
Update CPU usage checker configuration

Change-Id: I03d5cded93a8113d1cee47aac9ca0783856e2f10
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoUpdate CPU idle model 72/232572/3
Kichan Kwon [Wed, 6 May 2020 10:54:02 +0000 (19:54 +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>
4 years agoPrevent mem leak upon return 24/232524/1 accepted/tizen/5.5/unified/20200507.152451 submit/tizen_5.5/20200506.062626
Dewal Agarwal [Wed, 6 May 2020 06:11:57 +0000 (11:41 +0530)]
Prevent mem leak upon return

Change-Id: I1f2c10c47c619d756de7e1282a132defc2159f62
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoBattery Last Charge time 26/232426/2 accepted/tizen/5.5/unified/20200506.125023 submit/tizen_5.5/20200504.124600
Dewal Agarwal [Mon, 4 May 2020 11:50:06 +0000 (17:20 +0530)]
Battery Last Charge time

Change-Id: I4de8f8bd9897c2e7c61f59037d0643c1f168d81a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoCorrect code align 43/232343/1 accepted/tizen/5.5/unified/20200504.031611 submit/tizen_5.5/20200501.110700
Dewal Agarwal [Fri, 1 May 2020 10:44:44 +0000 (16:14 +0530)]
Correct code align

Change-Id: Ib17fabd11b5c53daaa3faabd68c22a91dfe3ffc9
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoFix memory leak 66/232266/1 submit/tizen_5.5/20200501.043834
Kichan Kwon [Wed, 29 Apr 2020 10:24:08 +0000 (19:24 +0900)]
Fix memory leak

Change-Id: I55e40606d05d0231c3e4db8abfcf95ce1d413ff7
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoDon't allocate dynamic memory for app/res usage 65/232265/1
Kichan Kwon [Wed, 29 Apr 2020 09:54:20 +0000 (18:54 +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>
4 years agoCorrect AppId duplication 24/232224/1 accepted/tizen/5.5/unified/20200430.133049 submit/tizen_5.5/20200429.065847
Dewal Agarwal [Wed, 29 Apr 2020 06:34:08 +0000 (12:04 +0530)]
Correct AppId duplication

Change-Id: I8218a4af0436d2ba1743d321a647a0eef8859a2f
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoCorrect for last charge in runtime 83/232083/1 accepted/tizen/5.5/unified/20200428.222940 submit/tizen_5.5/20200428.093936
Dewal Agarwal [Tue, 28 Apr 2020 06:30:26 +0000 (12:00 +0530)]
Correct for last charge in runtime

Change-Id: I53df84feb058e42f22aca230c1357acabd25966e
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoCorrect rx & tx time 09/232009/1 accepted/tizen/5.5/unified/20200428.014328 submit/tizen_5.5/20200427.091705
Dewal Agarwal [Mon, 27 Apr 2020 09:12:09 +0000 (14:42 +0530)]
Correct rx & tx time

Change-Id: I608992436db3a20469848a33c60f4a247d005ca2
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoChnage usage to mah 81/231981/1 accepted/tizen/5.5/unified/20200427.221806 submit/tizen_5.5/20200427.061744
Dewal Agarwal [Mon, 27 Apr 2020 06:11:31 +0000 (11:41 +0530)]
Chnage usage to mah

Change-Id: I513b1fb7aabdd3c192f89898ab23e50517c73082
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoMerge "Add Base System Battery Usage Dump" into tizen_5.5 accepted/tizen/5.5/unified/20200427.221758 submit/tizen_5.5/20200427.040810
Randeep Singh [Mon, 27 Apr 2020 04:06:48 +0000 (04:06 +0000)]
Merge "Add Base System Battery Usage Dump" into tizen_5.5

4 years agoAdd Base System Battery Usage Dump 84/231784/1
Dewal Agarwal [Fri, 24 Apr 2020 06:39:20 +0000 (12:09 +0530)]
Add Base System Battery Usage Dump

Change-Id: I8c2d97b864393d34293a4f44391b8c15fcfcbc8c
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoMerge "Record System base usage" into tizen_5.5 accepted/tizen/5.5/unified/20200424.141722 submit/tizen_5.5/20200423.131508
Randeep Singh [Thu, 23 Apr 2020 12:24:56 +0000 (12:24 +0000)]
Merge "Record System base usage" into tizen_5.5

4 years agoDump BT/Wi-Fi usage as bytes per minute 29/231329/2 accepted/tizen/5.5/unified/20200422.123251 submit/tizen_5.5/20200421.092112
Kichan Kwon [Tue, 21 Apr 2020 07:23:38 +0000 (16:23 +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>
4 years agoRecord System base usage 55/231255/1
Dewal Agarwal [Mon, 20 Apr 2020 13:22:25 +0000 (18:52 +0530)]
Record System base usage

Change-Id: Ib62082b047e4a2d39fa2b3e2bfad6e6019ce1e10
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoMerge "Correct log time wrt config param" into tizen_5.5 accepted/tizen/5.5/unified/20200421.150500 submit/tizen_5.5/20200420.114038
Randeep Singh [Mon, 20 Apr 2020 11:31:52 +0000 (11:31 +0000)]
Merge "Correct log time wrt config param" into tizen_5.5

4 years agoMerge "Remove old capi code" into tizen_5.5
Randeep Singh [Mon, 20 Apr 2020 07:50:10 +0000 (07:50 +0000)]
Merge "Remove old capi code" into tizen_5.5

4 years agoMerge "[Non ACR] Minimizing logs & source alignment" into tizen_5.5
Randeep Singh [Mon, 20 Apr 2020 07:49:05 +0000 (07:49 +0000)]
Merge "[Non ACR] Minimizing logs & source alignment" into tizen_5.5

4 years ago[Non ACR] Minimizing logs & source alignment 11/231211/4
Abhishek Vijay [Mon, 20 Apr 2020 07:11:34 +0000 (12:41 +0530)]
[Non ACR] Minimizing logs & source alignment

Change-Id: I8b1e1d46ed6189915bbb260d314b2db12833bb2f
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoCorrect log time wrt config param 09/231209/1
Dewal Agarwal [Mon, 20 Apr 2020 06:57:14 +0000 (12:27 +0530)]
Correct log time wrt config param

Change-Id: I8f89374553c2725886bf4442fc0e62a501f9b496
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoRemove old capi code 04/231204/2
Dewal Agarwal [Mon, 20 Apr 2020 05:39:58 +0000 (11:09 +0530)]
Remove old capi code

Change-Id: I86f3e7a66f30fff87340bd92af9d6ae40291d4bc
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years ago[Non-ACR]update conf. for receving signals 97/231197/2
Abhishek Vijay [Mon, 20 Apr 2020 05:08:19 +0000 (10:38 +0530)]
[Non-ACR]update conf. for receving signals

Change-Id: I36acddf4fa8b984fa34ff191c76bb6827ad072a2
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoMerge "Prevent SQL Injection" into tizen_5.5 accepted/tizen/5.5/unified/20200420.142751 submit/tizen_5.5/20200418.071559 submit/tizen_5.5/20200420.051245
Randeep Singh [Sat, 18 Apr 2020 06:58:56 +0000 (06:58 +0000)]
Merge "Prevent SQL Injection" into tizen_5.5

4 years agoPrevent SQL Injection 55/231155/1
Dewal Agarwal [Fri, 17 Apr 2020 15:47:22 +0000 (21:17 +0530)]
Prevent SQL Injection

Change-Id: I4ce01867ed3117507761b136fe566eaaeef4660f
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoDeny D-Bus message only having battery monitor's interface 50/231150/1 accepted/tizen/5.5/unified/20200420.142830 submit/tizen_5.5/20200417.121935
Kichan Kwon [Fri, 17 Apr 2020 12:05:43 +0000 (21:05 +0900)]
Deny D-Bus message only having battery monitor's interface

- Because different receiver can have same D-Bus ID,
  other process having same ID with battery monitor
  can be rejected
- To prevent this situation, we have to limit the policy
  to apply only for battery monitor's D-Bus message

Change-Id: If702b07cac89bbd77cc0dd9da80e3ee94bd4fa82
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoRemove busy wait 43/231143/3
Kichan Kwon [Fri, 17 Apr 2020 11:05:41 +0000 (20:05 +0900)]
Remove busy wait

- In addition, remove ENTER/EXIT logs from data collection functions

Change-Id: Idc45299c0dc34dc338b7c6d3cd8f437496c34989
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoMerge "Allow modifying data collection parameters via config file" into tizen_5.5
Abhishek Vijay [Fri, 17 Apr 2020 10:36:17 +0000 (10:36 +0000)]
Merge "Allow modifying data collection parameters via config file" into tizen_5.5

4 years agoMerge "Try to handle plugin data when CPU is idle" into tizen_5.5
Abhishek Vijay [Fri, 17 Apr 2020 10:36:09 +0000 (10:36 +0000)]
Merge "Try to handle plugin data when CPU is idle" into tizen_5.5

4 years agoAllow modifying data collection parameters via config file 98/231098/1
Kichan Kwon [Fri, 17 Apr 2020 07:14:49 +0000 (16:14 +0900)]
Allow modifying data collection parameters via config file

Change-Id: Ia88df720167ca5cd50416880f50bc1e085aff1c0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoTry to handle plugin data when CPU is idle 03/230203/4
Kichan Kwon [Wed, 8 Apr 2020 11:24:40 +0000 (20:24 +0900)]
Try to handle plugin data when CPU is idle

- Separate getting plugin data with calculating and DB restoring
- Period : 3 minutes -> 10 minutes
- Check whether CPU is idle before working
  - If CPU is busy, try on next time

Change-Id: I5c27880ad01c0f1142db4d1b804a4088770f95d5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoMerge "Return record not found for AppId" into tizen_5.5 accepted/tizen/5.5/unified/20200417.152912 submit/tizen_5.5/20200416.055720
Randeep Singh [Thu, 16 Apr 2020 05:47:34 +0000 (05:47 +0000)]
Merge "Return record not found for AppId" into tizen_5.5

4 years ago[Non-ACR] Removing dead code 97/230697/1 accepted/tizen/5.5/unified/20200414.140154 submit/tizen_5.5/20200414.060615
Abhishek Vijay [Mon, 13 Apr 2020 11:26:04 +0000 (16:56 +0530)]
[Non-ACR] Removing dead code

Change-Id: I52e2b979ad6e89830376f54e0b77534dc9a91202
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoNo more convert Wi-Fi time to seconds 08/230508/3 accepted/tizen/5.5/unified/20200413.002434 submit/tizen_5.5/20200410.102835
Kichan Kwon [Fri, 10 Apr 2020 07:10:28 +0000 (16:10 +0900)]
No more convert Wi-Fi time to seconds

- start/endTime and scanTime are already seconds

Change-Id: I1f68c7c94b155ade90a782a862084532d83f990a
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoModify Wi-Fi Power Model 70/229370/4
Dewal Agarwal [Tue, 31 Mar 2020 11:23:46 +0000 (16:53 +0530)]
Modify Wi-Fi Power Model
- Based scan time not included in rx and tx time

Change-Id: I1eb88067802074b177cd5ab2be1c6b67c4cba367
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoMerge "Coding rules related fixes incorporated" into tizen_5.5 submit/tizen_5.5/20200410.044846
Randeep Singh [Thu, 9 Apr 2020 04:37:54 +0000 (04:37 +0000)]
Merge "Coding rules related fixes incorporated" into tizen_5.5

4 years ago[Non-ACR] Correcting string name 09/230009/3
Abhishek Vijay [Tue, 7 Apr 2020 06:18:12 +0000 (11:48 +0530)]
[Non-ACR] Correcting string name

Change-Id: I79bd4acdfc7e70cd339b91cd2ed921e1c3bcde96
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years ago[Non-ACR]fixing memory issue 98/229998/2
Abhishek Vijay [Tue, 7 Apr 2020 05:39:36 +0000 (11:09 +0530)]
[Non-ACR]fixing memory issue

Change-Id: I333b77fe9f6cc6ca0f8ffd95802848045b1cd0d9
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoConvert BT time to seconds 94/229694/2
Kichan Kwon [Fri, 3 Apr 2020 01:46:05 +0000 (10:46 +0900)]
Convert BT time to seconds

- BT plugin is changed to use milliseconds

Change-Id: Id8545baf16b4318df422ce0c5359bdaf289d856b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoCode & Memory Fix 92/229492/1 accepted/tizen/5.5/unified/20200402.163431 submit/tizen_5.5/20200401.094620
Dewal Agarwal [Wed, 1 Apr 2020 09:41:01 +0000 (15:11 +0530)]
Code & Memory Fix

Change-Id: I128b416daa0098be2802880583b91697e5044185
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoMerge "Add Battery Screen On/Off stats - Add "misc" field" into tizen_5.5
Randeep Singh [Wed, 1 Apr 2020 09:21:27 +0000 (09:21 +0000)]
Merge "Add Battery Screen On/Off stats - Add "misc" field" into tizen_5.5

4 years agoMerge "Fix Memory Leak" into tizen_5.5
Randeep Singh [Wed, 1 Apr 2020 09:21:07 +0000 (09:21 +0000)]
Merge "Fix Memory Leak" into tizen_5.5

4 years agoRevert: Modify Wi-Fi Power Model 26/229426/1
Dewal Agarwal [Wed, 1 Apr 2020 04:42:40 +0000 (10:12 +0530)]
Revert: Modify Wi-Fi Power Model

Change-Id: Icddd756f91f77c1225103ae313d680aafa8ec25b
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoModify Wi-Fi Power Model
Dewal Agarwal [Tue, 31 Mar 2020 11:23:46 +0000 (16:53 +0530)]
Modify Wi-Fi Power Model

Change-Id: I1eb88067802074b177cd5ab2be1c6b67c4cba367
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoReturn record not found for AppId 45/229345/1
Dewal Agarwal [Tue, 31 Mar 2020 08:03:59 +0000 (13:33 +0530)]
Return record not found for AppId

Change-Id: Iad43957b538efa33ab434578eacb6e550e0b8700
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoFix Memory Leak 44/229144/3
Dewal Agarwal [Mon, 30 Mar 2020 05:09:41 +0000 (10:39 +0530)]
Fix Memory Leak

Change-Id: Iba2001aa96ed199131cb1b29110cac65d8be42a4
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoChange power profile parameters to double 16/228816/2
Kichan Kwon [Thu, 26 Mar 2020 01:33:46 +0000 (10:33 +0900)]
Change power profile parameters to double

- Because real parameters are floating point

Change-Id: Id49cfa3b5601bad8d26287ac842b85c0d89c56e4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoMerge "Revert "Revert "[Non-ACR] Fixing memory issues""" into tizen_5.5
Randeep Singh [Tue, 31 Mar 2020 05:04:21 +0000 (05:04 +0000)]
Merge "Revert "Revert "[Non-ACR] Fixing memory issues""" into tizen_5.5

4 years agoRevert "Revert "[Non-ACR] Fixing memory issues"" 03/229303/1
Randeep Singh [Tue, 31 Mar 2020 05:04:05 +0000 (05:04 +0000)]
Revert "Revert "[Non-ACR] Fixing memory issues""

This reverts commit 392d624ddab8000e85754ba034db5a09d6148001.

Change-Id: Ib15d08db1ccdb93f0f6757b07d094e358a5150d8

4 years agoMerge "Revert "[Non-ACR] Fixing memory issues"" into tizen_5.5
Randeep Singh [Tue, 31 Mar 2020 04:55:24 +0000 (04:55 +0000)]
Merge "Revert "[Non-ACR] Fixing memory issues"" into tizen_5.5

4 years agoRevert "[Non-ACR] Fixing memory issues" 00/229300/1
Randeep Singh [Tue, 31 Mar 2020 04:55:07 +0000 (04:55 +0000)]
Revert "[Non-ACR] Fixing memory issues"

This reverts commit f23e878c8f287ccc7deb738e0ecd7e9dad4c6d84.

Change-Id: I12833216f68deafbb9f9c485f8ce41b48a3e6f8e

4 years agoMerge "[Non-ACR] Fixing memory issues" into tizen_5.5
Randeep Singh [Tue, 31 Mar 2020 04:29:33 +0000 (04:29 +0000)]
Merge "[Non-ACR] Fixing memory issues" into tizen_5.5

4 years agoMerge "Modify BT Power Model" into tizen_5.5 accepted/tizen/5.5/unified/20200331.180155 submit/tizen_5.5/20200331.041315 submit/tizen_5.5/20200331.041325
Randeep Singh [Tue, 31 Mar 2020 04:10:31 +0000 (04:10 +0000)]
Merge "Modify BT Power Model" into tizen_5.5

4 years ago[Non-ACR] Fixing memory issues 48/229148/3
Abhishek Vijay [Mon, 30 Mar 2020 05:27:00 +0000 (10:57 +0530)]
[Non-ACR] Fixing memory issues

Change-Id: Id05f44d81b41e68cb3043235106b990e08bc005f
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoModify BT Power Model 14/228514/2
Dewal Agarwal [Mon, 23 Mar 2020 10:54:15 +0000 (16:24 +0530)]
Modify BT Power Model

Change-Id: I26180b4f100fc5e979f60c104a148503ed1e9587

4 years agoAdd Battery Screen On/Off stats 61/228661/1
Dewal Agarwal [Tue, 24 Mar 2020 11:44:59 +0000 (17:14 +0530)]
Add Battery Screen On/Off stats
- Add "misc" field

Change-Id: I1ada9dc8c350a90b2e46d7ecdcab306120257c4c

4 years ago[Non-ACR] add service restart params 41/228641/1 accepted/tizen/5.5/unified/20200325.144903 submit/tizen_5.5/20200324.113101
Amogh Gaur [Thu, 12 Mar 2020 12:18:03 +0000 (17:48 +0530)]
[Non-ACR] add service restart params

Change-Id: I4ce6003d765aad4c1ac507a69b2d7dc895af0b23
Signed-off-by: Amogh Gaur <amogh.gaur@samsung.com>
4 years ago[Non-ACR] Fixing build error for x86_64 & aarch64 38/228638/2
Abhishek Vijay [Tue, 24 Mar 2020 09:08:09 +0000 (14:38 +0530)]
[Non-ACR] Fixing build error for x86_64 & aarch64

Change-Id: I965863040393a0271dd8507e290dedf21c37f39a
Signed-off-by: Abhishek Vijay <abhishek.v@samsung.com>
4 years agoCoding rules related fixes incorporated 00/228200/1
kamaljeet chauhan [Wed, 11 Mar 2020 13:00:06 +0000 (18:30 +0530)]
Coding rules related fixes incorporated

Change-Id: Ic2767ffea72412318b0f35c1a6a3b91818d0f304
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
(cherry picked from commit c32f21846eab2c97c7848b00c5d3ecbc626858b6)

4 years agoAdd Battery Capacity in Dump 48/227548/2 submit/tizen_5.5/20200324.065222
Dewal Agarwal [Thu, 12 Mar 2020 12:46:39 +0000 (18:16 +0530)]
Add Battery Capacity in Dump

Change-Id: I8b7038d2a35c106ec04378f15a5cefc6ca0124e6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoAdd CPU stats for Battery Dump 48/227948/2
Dewal Agarwal [Tue, 17 Mar 2020 10:00:06 +0000 (15:30 +0530)]
Add CPU stats for Battery Dump

Change-Id: Iaaf36bea45b830c4876892e948a859b8c76e0518

4 years agoAdd Battery Monitor Server Implememtation for New APIs 47/227947/1
Dewal Agarwal [Mon, 9 Mar 2020 08:15:20 +0000 (13:45 +0530)]
Add Battery Monitor Server Implememtation for New APIs

- Add start and stop time for queries
- Add Dbus interface for New APIs

Change-Id: I2b0df540811493ee7b45e5cbdda0493b5da43934

4 years agoMerge "Set the base error code as Tizen official value" into tizen_5.5 accepted/tizen/5.5/unified/20200312.234547 submit/tizen_5.5/20200311.114948
Randeep Singh [Wed, 11 Mar 2020 11:46:10 +0000 (11:46 +0000)]
Merge "Set the base error code as Tizen official value" into tizen_5.5

4 years agoMerge "Separate system Bluetooth usage from app usage" into tizen_5.5
Randeep Singh [Wed, 11 Mar 2020 11:45:59 +0000 (11:45 +0000)]
Merge "Separate system Bluetooth usage from app usage" into tizen_5.5

4 years agoMerge "Initialize optind before getopt" into tizen_5.5
Randeep Singh [Wed, 11 Mar 2020 11:45:50 +0000 (11:45 +0000)]
Merge "Initialize optind before getopt" into tizen_5.5

4 years agoSet the base error code as Tizen official value 70/227370/1
Kichan Kwon [Tue, 10 Mar 2020 01:37:27 +0000 (10:37 +0900)]
Set the base error code as Tizen official value

Change-Id: Ie7b2c9e6c1ae9e24451006e37c65519e35b967d0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit 756843935a647998f6cd7e03872ce02e008730dd)

4 years agoSeparate system Bluetooth usage from app usage 69/227369/1
Kichan Kwon [Mon, 9 Mar 2020 01:40:26 +0000 (10:40 +0900)]
Separate system Bluetooth usage from app usage

- To prevent including system usage into the app power consumption

Change-Id: I9c95df2ead983bf999a3818c600869abdba25631
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit ba6acbceb3414be72b4525d96bf149af66982303)

4 years agoInitialize optind before getopt 68/227368/1
Kichan Kwon [Fri, 6 Mar 2020 03:02:04 +0000 (12:02 +0900)]
Initialize optind before getopt

- getopt doesn't initialize optind
- So, we must reset it on each subsequent call

Change-Id: I4f5bd874a8daeef12d7234a21e6975e9cbe7c846
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit 27f62eeb0271c97ebcbf0cf2e347ac727a6c20d5)

4 years agoBattery listeners for GPS, Charging, capacity,signal strenght added 67/227367/1
kamaljeet chauhan [Wed, 4 Mar 2020 06:46:50 +0000 (12:16 +0530)]
Battery listeners for GPS, Charging, capacity,signal strenght added

Change-Id: I7736712af3d4a237acb2f9f803901dfb24d6578f
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
(cherry picked from commit f86d41b5fac20d6bff030debd039f18d532cbf2b)

4 years agoModify usage output and overflow check 38/227038/1 submit/tizen_5.5/20200311.113804
Dewal Agarwal [Wed, 26 Feb 2020 11:12:58 +0000 (16:42 +0530)]
Modify usage output and overflow check

Change-Id: Iecffd54045b3d51e53e5a93d177d675f68f90555
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
(cherry picked from commit 527fe3a86d95c18de6a8dde826001842f26c37b9)

4 years agoMerge "svace issue fixed for battery listener" into tizen_5.5
Randeep Singh [Mon, 9 Mar 2020 07:44:46 +0000 (07:44 +0000)]
Merge "svace issue fixed for battery listener" into tizen_5.5

4 years agoReplace CPU power consumption parameters 28/226928/1
Kichan Kwon [Mon, 17 Feb 2020 11:01:34 +0000 (20:01 +0900)]
Replace CPU power consumption parameters

- Use utime and stime instead of fg and bg time

Change-Id: I6ada2765f0884d41397480f6cc28e89343d0ffeb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
(cherry picked from commit cc7c48251a5913124103f9718ff6e89eef5b3f58)

4 years agosvace issue fixed for battery listener 27/226927/1
kamaljeet chauhan [Mon, 2 Mar 2020 13:00:05 +0000 (18:30 +0530)]
svace issue fixed for battery listener

Change-Id: I542b758f5c75f6699c497d16bf4d455f6f8df45a
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
(cherry picked from commit 65872abcc7b01820df2b42b24c2f944e352c8c76)

4 years agoAdd Battery Dump and Database changes 40/225940/2
Dewal Agarwal [Tue, 25 Feb 2020 12:54:53 +0000 (18:24 +0530)]
Add Battery Dump and Database changes

Merge remote-tracking branch 'origin/tizen' into tizen_5.5

Squashed commit of the following:

commit 0658a3d5d90cc0905334c52e5571640294f7762d
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Feb 24 17:09:15 2020 +0530

    Add first entry for TIME

    - Update base_time for first entry
    - Make first node record conditional

    Change-Id: Ib93042a7df321267f8280b535cbf4166ca511adb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 51140ad7327f43fdd7f08abaa2edf73a1a31ee26
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Feb 20 12:33:02 2020 +0530

    Free stored history data upon deinit

    - Add history data dump free & reset
    - Handle case of invalid events

    Change-Id: I83ff741c9cd4573d0bdbef689646202aebb2bedb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit fb355090d2a0d92330e8bda737206ff88e4dc7b2
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Feb 19 16:52:28 2020 +0530

    Change the method to create dump buffers

    - Remove unnecessary assignments operation
    - Add memory free before return statements

    Change-Id: I3e2a4f29982d8e0295ad94791aa818f2e7e7a629
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit fbefbe27a5a666919b8fd1df0c4a943f956f9fef
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Feb 19 14:23:10 2020 +0530

    Enhance the Plugin data handle free operation

    - Correct the data handle free functions.
    - Correct the order of module deinit.

    Change-Id: I71d1456789520bb13f7b83e6c4a059dec4c0a433
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 964a9df2641237a5f3471aae40b539a600bd87ae
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Fri Jan 31 18:18:13 2020 +0530

    Fix: SVACE Issues in Source Code

    Change-Id: I77d41645a46f7bcb768d6b3e87e04b5918ba5be5
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit f27c122bbef5d675b97a6641c34ef16b0a98f12b
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Thu Jan 30 18:56:09 2020 +0900

    Make new states about resource usage

    - Bu(BLE usage) and Wu(Wi-Fi usage)
    - To store usage, add a new field in the history item

    Change-Id: I72f0c7bed623df53806b8238377166317fce9009
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 289a951c3bc4897b8004fdad585b13353ce995e7
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Wed Jan 29 10:59:43 2020 +0900

    Dump the elapsed time from last event

    - To show how long the last status is lasted

    Change-Id: I2068cd897cd3baa90aebb4f6d60a9bbcf0a7dd0e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit aac5bb2d03dc2561b7d1c550a85e75ee8e7e40a1
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Tue Jan 28 13:36:14 2020 +0900

    Make DUMP_DUMMY build flag

    - To watch dump string, set DUMP_DUMMY as "ON"
    - In addition, remove deprecated test function

    Change-Id: I0e9a1e58f7bb75ecc442a0a2a2bd7c6d5877392e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 381480c191514529d971d37e2ec46cf6ea29c4f9
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Tue Jan 28 13:26:07 2020 +0900

    Store time as millisecond which Historian wants

    Change-Id: Ia397f689d54d80cd7ee5026c3e6bb7ca481caaf8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 611ca150b8ad9f09eea82b6f1e3ece0cc465cc54
Merge: e74cb70 98f8a05
Author: Abhishek Vijay <abhishek.v@samsung.com>
Date:   Tue Feb 11 04:28:23 2020 +0000

    Merge "Battery Monitor Listeners BT,Wifi,Display,Brightness" into
tizen

commit e74cb70ec00c89e10c811d669a229fc93a061205
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Feb 6 17:54:41 2020 +0530

    Fix: Invalid Memory Access issues

    Change-Id: Id591606bf573c113695097636648cf95e8df37b1
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
    (cherry picked from commit 6c89017897d35124ee4886998d4dd7e31fb59a6d)

commit 98f8a05f23ff953db887e69ec8b556f9ac36b159
Author: kamaljeet chauhan <kamal.jc@samsung.com>
Date:   Thu Jan 23 17:04:32 2020 +0530

    Battery Monitor Listeners BT,Wifi,Display,Brightness

    Change-Id: If491cebc5a3573aa32258696acdf1991ce58c6e9
Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
commit cb0e87cb1b89bc1676cd831b5c3ada67c701712f
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Jan 27 18:21:46 2020 +0530

    Fix: Case of improper handle in fail case

    Change-Id: Icd4ab121ae8bfcb1e0debda044e5d52d8f0ab625
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 042b4a3fb572a4bad071d513f9322d332ad406b8
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Jan 22 17:38:07 2020 +0530

    Modify UID in Dump

    Change-Id: I67130ca5aabdf5f54ef3644d0398d546ceee0b31
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 2552175d3f8a059a59af805739b36f69b69516d1
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Jan 22 11:50:24 2020 +0530

    Add Test Function

    Change-Id: I1b08995199e419eededf7d4ce2f446ef649c81e5
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit ba9a6f6e3704a2bfb77ece51492224652f66873c
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Jan 21 19:42:47 2020 +0530

    Add Signal Strength & Screen Brightness

    Change-Id: I99be2da604fb8afca391a7e33c62cb52eb8ecd14
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit bbde1976423cdae4c75384a961e22dc58e9e1533
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Jan 21 19:41:07 2020 +0530

    Enhance Db information

    Change-Id: I2abd8fe86ba5f521e75d6f2517a4f66dc944f9a8
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit a7195780b8a4eb5085164b87ceaaeb23847d6624
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Mon Jan 20 19:10:42 2020 +0900

    Dump each line instead of whole string

    - Pass fd to each print function
    - It reverts "Adding String for Dump Sys"
      - This reverts commit 00a8c7c425c3c5b6df4a1bf920c0aaba43a5de35.

    Change-Id: Icb72edc7f68ccf6c53b50502d3488d6357c688a4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 8d7404c770838a4831b4be7ffa711f2a1d38f3db
Author: Kichan Kwon <k_c.kwon@samsung.com>
Date:   Thu Dec 26 12:47:37 2019 +0900

    Add dumpsys callback

    Change-Id: I2250a41b2e5658846ce31355ead449f038b22347
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
commit 00a8c7c425c3c5b6df4a1bf920c0aaba43a5de35
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Jan 16 16:48:49 2020 +0530

    Adding String for Dump Sys

    Change-Id: I872d42d91fd71191023470c9af5e66453c090b5a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 215116e9ca43a19c7ed4970057f27ad6a54faf83
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Jan 16 15:40:05 2020 +0530

    Battery information in Battery Dump

    Change-Id: Icc29202348efe4f1c291c765d2e9e67a713cb1fc
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 922e7217de480ab76652e3c1b2b05ce5881ed4a0
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Jan 14 16:51:05 2020 +0530

    Battery Dump for Plugin Data

    Change-Id: I509b256585218049cf57dc30b07010bed017216a
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 16cdf1c06c636104daab30b78cc9c29f00a09ae2
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Fri Jan 10 18:10:57 2020 +0530

    Query Functions to Get Data(Plugin) from DB

    Change-Id: I1c574a7c091c59e12de5dd55a551cb1e45f0e7d7
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit b226992ed075ce0de97f66c9c45b4ca26ffd374e
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Jan 8 16:30:21 2020 +0530

    Storing Data from Plugins

    Change-Id: Icd7892b79bbf04cfd02beed4461a3a4d89251add
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit e4507676b491d61b5a90ad0f60b1a30581f9c3d1
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Jan 6 10:34:48 2020 +0530

    Battery Dump: Correcting Base Time Difference

    Change-Id: Ie2baf958fd17afe799c084221fab252418714407
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 3e017d569a2109801d82b86d30e8618c401eb9fd
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Tue Dec 24 15:54:35 2019 +0530

    [ADDING]Battery Dump: UID support

    Change-Id: Id904cde9d6f79adb8525411988a7422daa816f1d
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 641d514fdacc7aea4ab93dd0b90ad5fbb96d8733
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Mon Dec 23 19:01:49 2019 +0530

    [ADDING]Battery Dump: Str Pool Support

    Change-Id: Idfacad52ba1bf6f47189759fbc88fe26bba1d083
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 28efe1b20e0dc1427ef775bdccd99cb11ff0db00
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Dec 19 16:41:16 2019 +0800

    Battery Monitor Dump Implementation: Initial Commit

    Change-Id: I61d97f80d0302c8506b1e08ce4edf1dfabbe7478
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 6e3d6411beee3768b9600c79b7047702d50a1f95
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Thu Nov 7 13:28:20 2019 +0530

    Adding: Mapping of AppId to numerical value

    Change-Id: I54e7b89849c15160e36ab6686ca5a2977da9b171
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
commit 02e5a0060c17d03447d009693fe6d63cf8fb3313
Author: Dewal Agarwal <d1.agarwal@samsung.com>
Date:   Wed Nov 6 15:49:02 2019 +0530

    Modifying to give percentage values

    Change-Id: I67f2c7152d93a445fefc8de0238d29327abc95c6
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
Change-Id: I386a135d11013766c86e1bb6960b47750d9b839c

4 years agoAdd first entry for TIME 03/225803/1 accepted/tizen/unified/20200226.124247 submit/tizen/20200226.045722
Dewal Agarwal [Mon, 24 Feb 2020 11:39:15 +0000 (17:09 +0530)]
Add first entry for TIME

- Update base_time for first entry
- Make first node record conditional

Change-Id: Ib93042a7df321267f8280b535cbf4166ca511adb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
4 years agoFree stored history data upon deinit 82/225482/2
Dewal Agarwal [Thu, 20 Feb 2020 07:03:02 +0000 (12:33 +0530)]
Free stored history data upon deinit

- Add history data dump free & reset
- Handle case of invalid events

Change-Id: I83ff741c9cd4573d0bdbef689646202aebb2bedb
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>