Research Article

Gathering Contextual Data with Power Information Using Smartphones in Internet of Everything

Table 3

Description of sensor data attributes.

SensorAttributeValue typeDescription

CLKTimestampLongThis 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 sensorAzimuth+ve doubleIt is used to measure the azimuth for the orientation of the device.
PitchDoubleIt is used to measure the pitch for orientation of the device.
RollDoubleIt is used to measure the roll for orientation of the device.
Accelerometer accelerationDoubleIt measures the acceleration along the -axis.
accelerationDoubleIt measures the acceleration along the -axis.
accelerationDoubleIt measures the acceleration along the -axis.
AmbianceLux+ve integerIt measures the ambient illuminance in lux.
Gyroscope angular velocityDoubleIt measures the angular velocity of the device’s rotation along the -axis.
angular velocityDoubleIt measures the angular velocity of the device’s rotation along the -axis.
angular velocityDoubleIt measures the angular velocity of the device’s rotation along the -axis.
Location sensorLatitude+ve doubleGives the latitude of the device.
Longitude+ve doubleGives the longitude of the device.
Altitude+ve integerGives the altitude of the device.
Magnetometer strengthDoubleGives the magnetic field strength along the -axis.
strengthDoubleGives the magnetic field strength along the -axis.
strengthDoubleGives the magnetic field strength along the -axis.
Absolute strengthDoubleGives the absolute strength of the magnetic field.
Battery extensionHealthStringThe health status of the battery.
Level+ve integerGives the battery level as a percentage of total capacity.
The before and after battery level is recorded.
TemperatureIntegerGives the temperature in Celsius.
Voltage+ve integerGives the voltage in millivolts (mV).
StatusStringGives the status, i.e., charging or discharging.
TechnologyStringThe technology of the battery, e.g., lithium-ion, or nickel cadmium.
Current drawIntegerMeasures 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.
HygrometerHumidityIntegerMeasures the humidity in the environment.
Near field communication sensorDistance+ve integerMeasures the near field distance of a compatible device.
Weather web serviceWeatherStringGives the outlook of the weather. The location is the latitude
and longitude measured using a location sensor.
Location web serviceAddressStringGives the address of the location. The location is the latitude
and longitude measured using a location sensor.