Gathering Contextual Data with Power Information Using Smartphones in Internet of Everything
Table 3
Description of sensor data attributes.
Sensor
Attribute
Value type
Description
CLK
Timestamp
Long
This timestamp is a label to record the time at the start of the process. This timestamp is a long number depicting a nanosecond. The timestamp is also recorded after the processing has been completed and the elapsed time is measured in picoseconds, postprocessing.
Orientation sensor
Azimuth
+ve double
It is used to measure the azimuth for the orientation of the device.
Pitch
Double
It is used to measure the pitch for orientation of the device.
Roll
Double
It is used to measure the roll for orientation of the device.
Accelerometer
acceleration
Double
It measures the acceleration along the -axis.
acceleration
Double
It measures the acceleration along the -axis.
acceleration
Double
It measures the acceleration along the -axis.
Ambiance
Lux
+ve integer
It measures the ambient illuminance in lux.
Gyroscope
angular velocity
Double
It measures the angular velocity of the device’s rotation along the -axis.
angular velocity
Double
It measures the angular velocity of the device’s rotation along the -axis.
angular velocity
Double
It measures the angular velocity of the device’s rotation along the -axis.
Location sensor
Latitude
+ve double
Gives the latitude of the device.
Longitude
+ve double
Gives the longitude of the device.
Altitude
+ve integer
Gives the altitude of the device.
Magnetometer
strength
Double
Gives the magnetic field strength along the -axis.
strength
Double
Gives the magnetic field strength along the -axis.
strength
Double
Gives the magnetic field strength along the -axis.
Absolute strength
Double
Gives the absolute strength of the magnetic field.
Battery extension
Health
String
The health status of the battery.
Level
+ve integer
Gives the battery level as a percentage of total capacity. The before and after battery level is recorded.
Temperature
Integer
Gives the temperature in Celsius.
Voltage
+ve integer
Gives the voltage in millivolts (mV).
Status
String
Gives the status, i.e., charging or discharging.
Technology
String
The technology of the battery, e.g., lithium-ion, or nickel cadmium.
Current draw
Integer
Measures the current draw in milliAmperes (mA). The current draw is negative when the device is discharging. This is recorded for both before and after processing.
Hygrometer
Humidity
Integer
Measures the humidity in the environment.
Near field communication sensor
Distance
+ve integer
Measures the near field distance of a compatible device.
Weather web service
Weather
String
Gives the outlook of the weather. The location is the latitude and longitude measured using a location sensor.
Location web service
Address
String
Gives the address of the location. The location is the latitude and longitude measured using a location sensor.