Forums - Power Values not working

8 posts / 0 new
Last post
Power Values not working
haldi4803
Join Date: 3 Dec 12
Posts: 19
Posted: Sun, 2018-06-03 13:01

Hi,

I'm using Snapdragon Profiler v2018.1.0.3302018 on a Sony Xperia XZ2 with firmware 51.1.A.4.173 Android 8.0 on Kernel 4.9.65.

Sadly none of the Power values work.  Battery Current, Battery Level and Battery Power only show 0.

https://i.imgur.com/urQw0Lz.png

 

Is this an issue of my Platform?

  • Up0
  • Down0
Carlos Dominguez Moderator
Join Date: 27 Jul 15
Location: San Diego
Posts: 110
Posted: Tue, 2018-06-05 15:03

Hi,

Power values get affected by the USB  connection, can you please try ADB over wifi?

  • Up0
  • Down0
haldi4803
Join Date: 3 Dec 12
Posts: 19
Posted: Thu, 2018-06-07 13:29

Oh, sorry i forgot to mention, i've mostly used ADB over WiFi. and it never showed up.

Just connected it via Cable now to check, and doesn't change.

What kind of Log could include helpfull information?

  • Up0
  • Down0
eshaw Moderator
Join Date: 12 May 16
Location: San Diego
Posts: 142
Posted: Tue, 2018-06-19 09:51

If you can share a logcat dump we may be able to determine more. You can use logcat's filtering functionality to capture only messages from SDP: adb logcat -s SDPCore.

Unfortunately we do not have access to a Xperia XZ2 device to attempt to reproduce your problem.

Eric

 

  • Up0
  • Down0
haldi4803
Join Date: 3 Dec 12
Posts: 19
Posted: Tue, 2018-06-19 10:50

Connected via ADB over WiFi. Cleared Logcat, Started logging, connected Snapdragon Profiler, did a Realtime and selected all 3 Power Values, waited 10 seconds. Disconnected. Stopped logging.

Does that help or you need anything more?

 


--------- beginning of main
06-19 19:44:55.294  6473  6473 I SDPCore : Service initialized.
06-19 19:44:55.294  6473  6473 I SDPCore : Loading plugins from /data/local/tmp/SnapdragonProfiler...
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginCPU'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDDRBandwidth'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDSP-Application'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDSP-Compute'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDSP-Sensor'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-GGPM'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-OpenCL'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-OpenGLES'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-QGL'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginNetwork'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginPower'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginSystrace'.
06-19 19:44:55.295  6473  6473 I SDPCore : Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginThermal'.
06-19 19:44:55.295  6473  6473 I SDPCore : Service attempting connection to client at 192.168.1.45:5555...
06-19 19:44:55.301  6473  6476 I SDPCore : Client socket 0x00000001 connected to tcp://192.168.1.45:5555
06-19 19:44:55.301  6473  6473 I SDPCore : Service successfully connected to 192.168.1.45.
06-19 19:44:55.302  6473  6473 I SDPCore : Starting 13 data provider processes...
06-19 19:44:55.302  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginCPU' (PID 6477).
06-19 19:44:55.303  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginDDRBandwidth' (PID 6478).
06-19 19:44:55.304  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginDSP-Application' (PID 6479).
06-19 19:44:55.304  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginDSP-Compute' (PID 6480).
06-19 19:44:55.307  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginDSP-Sensor' (PID 6481).
06-19 19:44:55.308  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginGPU-GGPM' (PID 6482).
06-19 19:44:55.312  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginGPU-OpenCL' (PID 6483).
06-19 19:44:55.312  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginGPU-OpenGLES' (PID 6484).
06-19 19:44:55.319  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginGPU-QGL' (PID 6485).
06-19 19:44:55.326  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginNetwork' (PID 6486).
06-19 19:44:55.337  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginPower' (PID 6487).
06-19 19:44:55.346  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginSystrace' (PID 6488).
06-19 19:44:55.364  6486  6486 I SDPCore : DataProvider created (0xAC149610): NetworkDataProvider
06-19 19:44:55.364  6473  6473 I SDPCore : Started child process '/data/local/tmp/SnapdragonProfiler/pluginThermal' (PID 6491).
06-19 19:44:55.371  6478  6478 I SDPCore : DDRBandwidthPlugin: This device does not support bandwidth measurement. No bandwidth metrics will be available.
06-19 19:44:55.374  6477  6477 I SDPCore : DataProvider created (0x97E53411): CPUDataProvider
06-19 19:44:55.392  6486  6486 I SDPCore : Provider 'NetworkDataProvider' (0xAC149610) connecting to 192.168.1.45:5555 (non-blocking)...
06-19 19:44:55.393  6483  6483 I SDPCore : DataProvider created (0x0C792CE5): OpenCLDataProvider
06-19 19:44:55.394  6483  6483 I SDPCore : Provider 'OpenCLDataProvider' (0x0C792CE5) connecting to 192.168.1.45:5555 (non-blocking)...
06-19 19:44:55.394  6487  6487 I SDPCore : DataProvider created (0x530B60FE): PowerDataPlugin
06-19 19:44:55.394  6487  6487 I SDPCore : Provider 'PowerDataPlugin' (0x530B60FE) connecting to 192.168.1.45:5555 (non-blocking)...
06-19 19:44:55.400  6483  6522 I SDPCore : Client socket 0x0C792CE5 connected to tcp://192.168.1.45:5555
06-19 19:44:55.400  6486  6511 I SDPCore : Client socket 0xAC149610 connected to tcp://192.168.1.45:5555
06-19 19:44:55.403  6487  6525 I SDPCore : Client socket 0x530B60FE connected to tcp://192.168.1.45:5555
06-19 19:44:55.408  6483  6483 I SDPCore : Provider 'OpenCLDataProvider' (0x0C792CE5) connected to 192.168.1.45.
06-19 19:44:55.446  6491  6491 I SDPCore : Thermal: using directory '/sys/devices/virtual/thermal/'
06-19 19:44:55.448  6491  6491 I SDPCore : DataProvider created (0x2892CDAB): ThermalDataprovider
06-19 19:44:55.448  6491  6491 I SDPCore : Provider 'ThermalDataprovider' (0x2892CDAB) connecting to 192.168.1.45:5555 (non-blocking)...
06-19 19:44:55.448  6482  6482 I SDPCore : DataProvider created (0xFB53BFE2): GGPMDataProvider
06-19 19:44:55.449  6482  6482 I SDPCore : Provider 'GGPMDataProvider' (0xFB53BFE2) connecting to 192.168.1.45:5555 (non-blocking)...
06-19 19:44:55.450  6487  6487 I SDPCore : Provider 'PowerDataPlugin' (0x530B60FE) connected to 192.168.1.45.
06-19 19:44:55.452  6491  6546 I SDPCore : Client socket 0x2892CDAB connected to tcp://192.168.1.45:5555
06-19 19:44:55.455  6479  6479 I SDPCore : ADSPDataProvider: DSP - Application subsystem found.
06-19 19:44:55.465  6482  6549 I SDPCore : Client socket 0xFB53BFE2 connected to tcp://192.168.1.45:5555
06-19 19:44:55.472  6480  6480 I SDPCore : CDSPDataProvider: DSP - Compute subsystem found.
06-19 19:44:55.482  6488  6488 I SDPCore : DataProvider created (0x7D5E724B): SDPTrace Plugin
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/thermal/enable
06-19 19:44:55.484  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: Thermal
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_already/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_boost/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_cpuload/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_load_change/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_notyet/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_setspeed/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_target/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/cpufreq_interactive/cpufreq_interactive_unboost/enable
06-19 19:44:55.484  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: CPU Freq Interactive
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/perf_trace_counters/sched_switch_with_ctrs/enable
06-19 19:44:55.484  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: Perf Trace Counter
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/msm_bus/bus_update_request/enable
06-19 19:44:55.484  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: MSM Bus
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/msm_low_power/enable
06-19 19:44:55.484  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: MSM Low Power
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/kgsl/kgsl_clk/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/kgsl/kgsl_pwrlevel/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/kgsl/kgsl_buslevel/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/kgsl/kgsl_pwr_set_state/enable
06-19 19:44:55.484  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: KGSL
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/cpu_frequency_switch_start/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/bw_hwmon_meas/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/bw_hwmon_update/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/clock_set_rate/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/clock_enable/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/clock_disable/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/clock_state/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/clk/clk_set_rate/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/clk/clk_enable/enable
06-19 19:44:55.484  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/clk/clk_disable/enable
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/clk/clk_state/enable
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/memlat_dev_update/enable
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/power/memlat_dev_meas/enable
06-19 19:44:55.485  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: Power
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/mdss/mdp_mixer_update/enable
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/mdss/mdp_sspp_change/enable
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/mdss/mdp_commit/enable
06-19 19:44:55.485  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: MDSS
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/regulator/regulator_set_voltage_complete/enable
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/regulator/regulator_disable_complete/enable
06-19 19:44:55.485  6488  6488 W SDPCore : SDPTrace: couldn't write to path: /d/tracing/events/regulator/regulator_enable_complete/enable
06-19 19:44:55.485  6488  6488 E SDPCore : SDPTrace: Unable to activate metric: Regulator
06-19 19:44:55.485  6488  6488 I SDPCore : Skipping GPU Activity metric as data cannot be accessed on this device.
06-19 19:44:55.485  6488  6488 I SDPCore : Provider 'SDPTrace Plugin' (0x7D5E724B) connecting to 192.168.1.45:5555 (blocking)...
06-19 19:44:55.495  6488  6560 I SDPCore : Client socket 0x7D5E724B connected to tcp://192.168.1.45:5555
06-19 19:44:55.499  6488  6488 I SDPCore : Provider 'SDPTrace Plugin' (0x7D5E724B) connected to 192.168.1.45.
06-19 19:44:55.499  6488  6488 I SDPCore : SDPTrace connected.
06-19 19:44:55.499  6488  6488 I SDPCore : sdptrace thread started
06-19 19:44:55.499  6491  6491 I SDPCore : Provider 'ThermalDataprovider' (0x2892CDAB) connected to 192.168.1.45.
06-19 19:44:55.502  6483  6483 I SDPCore : Provider 'OpenCLDataProvider' listening for files @ tcp://*:5557
06-19 19:44:55.503  6483  6483 I SDPCore : Provider 'OpenCLDataProvider' listening for options @ tcp://*:5558
06-19 19:44:55.516  6481  6481 I SDPCore : SDSPDataProvider: DSP - Sensors subsystem found.
06-19 19:44:55.589  6482  6482 I SDPCore : Provider 'GGPMDataProvider' (0xFB53BFE2) connected to 192.168.1.45.
06-19 19:44:55.608  6486  6486 I SDPCore : Provider 'NetworkDataProvider' (0xAC149610) connected to 192.168.1.45.
06-19 19:44:55.636  6488  6488 I SDPCore : Provider 'SDPTrace Plugin' listening for files @ tcp://*:5561
06-19 19:44:55.637  6488  6488 I SDPCore : Provider 'SDPTrace Plugin' listening for options @ tcp://*:5562
06-19 19:44:55.652  6487  6487 I SDPCore : Provider 'PowerDataPlugin' listening for files @ tcp://*:5559
06-19 19:44:55.652  6487  6487 I SDPCore : Provider 'PowerDataPlugin' listening for options @ tcp://*:5560
06-19 19:44:55.701  6491  6491 I SDPCore : Provider 'ThermalDataprovider' listening for files @ tcp://*:5563
06-19 19:44:55.701  6491  6491 I SDPCore : Provider 'ThermalDataprovider' listening for options @ tcp://*:5564
06-19 19:44:55.710  6486  6486 I SDPCore : Provider 'NetworkDataProvider' listening for files @ tcp://*:5565
06-19 19:44:55.710  6486  6486 I SDPCore : Provider 'NetworkDataProvider' listening for options @ tcp://*:5566
06-19 19:44:55.747  6477  6477 I SDPCore : Provider 'CPUDataProvider' (0x97E53411) connecting to 192.168.1.45:5555 (non-blocking)...
06-19 19:44:55.752  6477  6598 I SDPCore : Client socket 0x97E53411 connected to tcp://192.168.1.45:5555
06-19 19:44:55.794  6482  6482 I SDPCore : Provider 'GGPMDataProvider' listening for files @ tcp://*:5567
06-19 19:44:55.794  6482  6482 I SDPCore : Provider 'GGPMDataProvider' listening for options @ tcp://*:5568
06-19 19:44:55.800  6477  6477 I SDPCore : Provider 'CPUDataProvider' (0x97E53411) connected to 192.168.1.45.
06-19 19:44:55.909  6477  6477 I SDPCore : Provider 'CPUDataProvider' listening for files @ tcp://*:5569
06-19 19:44:55.910  6477  6477 I SDPCore : Provider 'CPUDataProvider' listening for options @ tcp://*:5570
06-19 19:44:55.956  6479  6479 I SDPCore : ADSPDataProvider: SetDSPDataPluginState from 0 to 0
06-19 19:44:55.956  6479  6479 I SDPCore : pluginDSP: Finished a DSP capture.
06-19 19:44:55.959  6479  6479 I SDPCore : pluginDSP: StubAPI: Enabled realtime DSP metric collection. New state is 1
06-19 19:44:55.959  6479  6479 I SDPCore : pluginDSP: StubAPI: Disabling realtime DSP metric collection. Current state is 1
06-19 19:44:55.963  6479  6479 I SDPCore : DataProvider created (0x5C0A9740): ADSPDataProvider
06-19 19:44:55.965  6479  6479 I SDPCore : Provider 'ADSPDataProvider' (0x5C0A9740) connecting to 192.168.1.45:5555 (blocking)...
06-19 19:44:55.970  6479  6617 I SDPCore : Client socket 0x5C0A9740 connected to tcp://192.168.1.45:5555
06-19 19:44:55.971  6479  6479 I SDPCore : Provider 'ADSPDataProvider' (0x5C0A9740) connected to 192.168.1.45.
06-19 19:44:55.971  6479  6479 I SDPCore : ADSPDataProvider: Connected.
06-19 19:44:55.972  6480  6480 I SDPCore : CDSPDataProvider: SetDSPDataPluginState from 0 to 0
06-19 19:44:55.972  6480  6480 I SDPCore : pluginDSP: Finished a DSP capture.
06-19 19:44:55.975  6480  6480 I SDPCore : pluginDSP: StubAPI: Enabled realtime DSP metric collection. New state is 1
06-19 19:44:55.975  6480  6480 I SDPCore : pluginDSP: StubAPI: Disabling realtime DSP metric collection. Current state is 1
06-19 19:44:55.978  6480  6480 I SDPCore : DataProvider created (0x239F7C01): CDSPDataProvider
06-19 19:44:55.980  6480  6480 I SDPCore : Provider 'CDSPDataProvider' (0x239F7C01) connecting to 192.168.1.45:5555 (blocking)...
06-19 19:44:55.984  6480  6624 I SDPCore : Client socket 0x239F7C01 connected to tcp://192.168.1.45:5555
06-19 19:44:55.984  6480  6480 I SDPCore : Provider 'CDSPDataProvider' (0x239F7C01) connected to 192.168.1.45.
06-19 19:44:55.984  6480  6480 I SDPCore : CDSPDataProvider: Connected.
06-19 19:44:56.017  6481  6481 I SDPCore : SDSPDataProvider: SetDSPDataPluginState from 0 to 0
06-19 19:44:56.017  6481  6481 I SDPCore : pluginDSP: Finished a DSP capture.
06-19 19:44:56.021  6481  6481 I SDPCore : pluginDSP: StubAPI: Enabled realtime DSP metric collection. New state is 1
06-19 19:44:56.021  6481  6481 I SDPCore : pluginDSP: StubAPI: Disabling realtime DSP metric collection. Current state is 1
06-19 19:44:56.024  6481  6481 I SDPCore : DataProvider created (0x5B90D1F3): SDSPDataProvider
06-19 19:44:56.026  6481  6481 I SDPCore : Provider 'SDSPDataProvider' (0x5B90D1F3) connecting to 192.168.1.45:5555 (blocking)...
06-19 19:44:56.030  6481  6631 I SDPCore : Client socket 0x5B90D1F3 connected to tcp://192.168.1.45:5555
06-19 19:44:56.030  6481  6481 I SDPCore : Provider 'SDSPDataProvider' (0x5B90D1F3) connected to 192.168.1.45.
06-19 19:44:56.030  6481  6481 I SDPCore : SDSPDataProvider: Connected.
06-19 19:44:56.076  6479  6479 I SDPCore : Provider 'ADSPDataProvider' listening for files @ tcp://*:5571
06-19 19:44:56.076  6479  6479 I SDPCore : Provider 'ADSPDataProvider' listening for options @ tcp://*:5572
06-19 19:44:56.086  6480  6480 I SDPCore : Provider 'CDSPDataProvider' listening for files @ tcp://*:5573
06-19 19:44:56.086  6480  6480 I SDPCore : Provider 'CDSPDataProvider' listening for options @ tcp://*:5574
06-19 19:44:56.182  6481  6481 I SDPCore : Provider 'SDSPDataProvider' listening for files @ tcp://*:5575
06-19 19:44:56.183  6481  6481 I SDPCore : Provider 'SDSPDataProvider' listening for options @ tcp://*:5576
06-19 19:44:56.203  6485  6485 I SDPCore : QGL_DP: Initializing QGLDataPlugin
06-19 19:44:56.203  6485  6485 I SDPCore : QGL_DP: GfxConnection: Starting connection thread
06-19 19:44:56.212  6485  6485 I SDPCore : DataProvider created (0xEE72972E): VulkanDataPlugin
06-19 19:44:56.212  6485  6485 I SDPCore : Provider 'VulkanDataPlugin' (0xEE72972E) connecting to 192.168.1.45:5555 (non-blocking)...
06-19 19:44:56.213  6484  6484 I SDPCore : GLES_DP: Initializing OpenGLESDataPlugin
06-19 19:44:56.216  6484  6484 I SDPCore : DataProvider created (0xBD2D700E): OpenGLESDataPlugin
06-19 19:44:56.217  6485  6657 I SDPCore : Client socket 0xEE72972E connected to tcp://192.168.1.45:5555
06-19 19:44:56.394  6484  6484 E SDPCore : Could not read maximum GPU clock
06-19 19:44:56.461  6484  6668 I SDPCore : Client socket 0xBD2D700E connected to tcp://192.168.1.45:5555
06-19 19:44:56.522  6484  6484 I SDPCore : Provider 'OpenGLESDataPlugin' (0xBD2D700E) connected to 192.168.1.45.
06-19 19:45:00.134  6487  6487 I SDPCore : Metric 'Battery Current' activated for all processes
06-19 19:45:00.134  6487  6487 I SDPCore : Metric 'Battery Level' activated for all processes
06-19 19:45:00.134  6487  6487 I SDPCore : Metric 'Battery Power' activated for all processes
 

  • Up0
  • Down0
Carlos Dominguez Moderator
Join Date: 27 Jul 15
Location: San Diego
Posts: 110
Posted: Fri, 2018-06-22 16:16

Hi,

From what I see in your logcat it all looks OK to me as far as Snapdragon Profiler's operation. Snapdragon Profiler uses the underlying sysfs nodes located in /sys/class/power_supply/battery/ to get these metrics. Could you please try accessing them manually by using 'adb shell cat'. If they report 0 even from that location then the device itself may be obfuscating the values.

Carlos

  • Up0
  • Down0
haldi4803
Join Date: 3 Dec 12
Posts: 19
Posted: Sat, 2018-06-23 05:39

Seems like that might be the problem...

Can't access that without root it seems.

c:\ADB>adb shell ls /sys/class/power_supply/battery/
ls: /sys/class/power_supply/battery/: Permission denied

 

Edit:
Same Issues on the OP6.

But with root it works.

https://i.imgur.com/C5q0sll.png

 

  • Up0
  • Down0
Carlos Dominguez Moderator
Join Date: 27 Jul 15
Location: San Diego
Posts: 110
Posted: Mon, 2018-06-25 13:16

Hi Haldi,

Thank you for checking this. It seems that Snapdragon Profiler is incorrectly reporting that these metrics are available when it shouldn't since the nodes are not readable. I have filed a bug against it and we'll get to it asap. In the meantime as you pointed out, as long as the node is accessible (via root) you should get valid values through Snapdragon Profiler. I apologize for the inconvenience and thank you very much for helping us debug this further.

Cheers,

Carlos

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.