SKKU Embedded Software Lab. 15 1 https://github.com/batteryinfo Battery Information 최완수 (2014711789) 김영훈 (2014711277) 곽현호 (2014711645)

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

DATA PROCESSING SYSTEMS
Cisco Confidential © 2012 Cisco and/or its affiliates. All rights reserved. 1 StadiumVision Mobile SDK Overview For App Developers Cisco Sports and Entertainment.
VMware Capacity Planner 2.7 Discussion and Demo from Engineering May 2009.
Android architecture overview
A Method for Characterizing Energy Consumption in Android Smartphones Authors: Luis Corral, Anton B. Georgiev, Alberto Sillitti, Giancarlo Succi Center.
Peeking into Your App without Actually Seeing It: UI State Inference and Novel Android Attacks Qi Alfred Chen, Zhiyun Qian†, Z. Morley Mao University of.
Tizen System / App Framework
1. Scope of the Project Diagnostic tools are already being used by GE for compressor performance, but they are… – Too expensive – Time Consuming – Hazardous.
6/13/20151 CS 160: Lecture 13 Professor John Canny Fall 2004.
© 2009 Research In Motion Limited Methods of application development for mobile devices.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Figure 1.1 Interaction between applications and the operating system.
Cosc 4730 Phone Programming in Java An Introduction.
Chameleon Display on Tizen
Embedded Software SKKU 18 1 Tizen Project Example: Remote Key Framework.
SKKU Embedded Software Lab Remote Sensor Byunghei Jun Dongsu Kim Dongig Sin.
Object-Oriented Analysis and Design
Web HMI Presenter: Win Worrall.
Case study 2 Android – Mobile OS.
Product Demo. Terminal Services Log By Acceleratio Acceleratio Ltd. is a software development company based in Zagreb, Croatia, founded in Technology.
Smartphones for Seniors Apps presentation by WIT Software.
Existing Network Study CPIT 375 Data Network Designing and Evaluation.
Table-Driven Acceptance Testing Mario Aquino Principal Software Engineer Object Computing, Inc.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Microsoft ® Official Course Module 10 Optimizing and Maintaining Windows ® 8 Client Computers.
ErdOS: An energy-aware social operating system Further Reading: (*) Narseo Vallina-Rodriguez, Pan Hui, Jon Crowcroft, Andrew Rice. “Exhausting Battery.
August 01, 2008 Performance Modeling John Meisenbacher, MasterCard Worldwide.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date:
Designing an Inventory Database System CS489 Research Project in Computer Science John Ahigian Advisor: Dr. Wang CS489 Research Project in Computer Science.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
The Team About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe HPC NT, CE, DDK, C#, Asp.Net, DirectShow, 8051, …
Embedded Software SKKU 29 1 Sungkyunkwan University Tizen v2.3 Application Model.
Introduction Characteristics of USB System Model What needs to be done Platform Issues Conceptual Issues Timeline USB Monitoring 2 nd Update – 7 th February.
Embedded Software SKKU 17 1 Embedded Software Lab. Tizen v2.3 Input Service Framework.
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
IoTivity.
Embedded Software SKKU 51 1 Tizen v2.3 System & App Framework.
Project Transcender Standard Windows Forms to Windows 8 Metro Style porting tool Sri Lanka Institute of Information Technology 1.
PVSSProxy The first piece of the MACS procedure framework (ProShell) Angela Brett.
Embedded Software SKKU 14 1 Sungkyunkwan University Tizen v2.3 Application Profiling & Debugging.
Unit - VI. Linux and Real Time: Real Time Tasks Hard and Soft Real Time Tasks Linux Scheduling Latency Kernel Preemption Challenges in Kernel Preemption.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
GAYA Analyzer SDD Presentation. GAYA Analyzer Introduction OMS40G256 is a hardware device used for detection of radioactive radiation for medical imaging.
Power Profiling using Sim-Panalyzer Andria Dyess and Trey Brakefield CPE631 Spring 2005.
Lab 3 Real-Time Control of a Hot Air Plant using RTOS µC/OSII Due Date: Week of Nov. 2 nd, 2010.
Monday, August 31, 2012 CSCI 333 – Systems Programming.
Module 9 Planning and Implementing Monitoring and Maintenance.
Roman Soyka 1/8 Car Computer. to design and realize computer system suitable for usage in personal car with voice recognition control and ability to communicate.
System Design for Home Automaton. Design Goals Performance Criteria – Server prioritizes client requests to provide quick response time to critical requests.
Power Guru: Implementing Smart Power Management on the Android Platform Written by Raef Mchaymech.
Business-logic Layer Presentation Layer Network Layer Digital Signal Processing Layer SmartHome API SmartHome Software Architecture SH mobile application.
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
A Software Energy Analysis Method using Executable UML for Smartphones Kenji Hisazumi System LSI Research Center Kyushu University.
Exploring Networked Data and Data Stores Lesson 3.
Supervised By: Dr. Juergen Dingel Suchita Ganesan, Laith “Leo” Juwaidah, Nondini Das Nicolas Hili, Reza Ahmadi Model-Based Monitoring for PapyrusRT 5/5/20161.
Wednesday NI Vision Sessions
Design Skills Example.
About Bill Bill Baer (ˈbɛər)
Modeling Page Replacement Algorithms
Getting Started with Visual Studio Tools for Tizen
Mobile App ux/ ui design In High Quality.
Model-View-Controller
Introduction to mobile app development Module 3 – Improving your App Studio app Lance McCarthy.
Background Energy efficiency is a critical issue for mobile device.
QNX Technology Overview
Muhammad Saif ur Rehman
Modeling Page Replacement Algorithms
Presentation transcript:

SKKU Embedded Software Lab Battery Information 최완수 ( ) 김영훈 ( ) 곽현호 ( )

SKKU Embedded Software Lab The need for batteries usage information in mobile environments –User Can check their use patterns Can remove the application, there is a problem –Developer Can check possible errors related to power management Can optimize app in power management Other mobile OS already supports the feature –Now need to provide that features in the Tizen Provide Battery Usage Information

SKKU Embedded Software Lab Two types of data –Battery remaining capacity/hardware device usage information –Battery usage percentage for each app Battery Information

SKKU Embedded Software Lab Overall structure Implementation Data collection and processing Service Daemon Battery usage percentage for each app hardware device usage Stat File Existing Framework Data Write Display UI based on data UI App Communication

SKKU Embedded Software Lab Obtain App list Obtain Application Information [1/5] Ecore Main Loop 소켓 통신 등록 Service Daemon Appcore Framework ② Socket Communications App [pid / name / state] ③ Socket Communications ④ App list configuration ① Socket Register

SKKU Embedded Software Lab Inter-process communication same with a common socket socket programming –Use Ecore main loop & Socket register –Use ecore main loop in order not to create additional loop thread –Register socket for main loop Obtain Application Information [2/5] Init for custom service Ecore main loop example Fd for socket communication call-back for socket communication

SKKU Embedded Software Lab Application State –When the state changes is needed, use app-core f/w –Edit App-core/src/appcore-efl.c Transfer the information to the service whenever changes occur to State Obtain Application Information [3/5] Change UI app state depending on event Transfer Pid, name, state information

SKKU Embedded Software Lab Organize usage information for the App in the List –Foreground state time in the app is the same as LCD on time –Read CPU time for each App from proc filesystem Obtain Application Information [4/5] Service Daemon Each hardware device usage updates for the App list CPU usage time for each process /proc/pid/stat read Stat File Calculate battery ratio for the App

SKKU Embedded Software Lab Ratio calculation for each app –Reflecting a 50% share for LCD & CPU usage time Can be extended to a more accurate result –Can reflect the power consumption of the real device –Can be added other hardware Obtain Application Information[5/5] PidNamePercentage

SKKU Embedded Software Lab Use Vconf –One of IPC –Whenever the value in the vconf is changed, the corresponding f / w or app is operating Register call back –Register notify for specific value of vconf Hardware Information [1/2] Brightness, battery, wifi state, other information exists vconf_notify_key_changed(VCONFKEY_PM_STATE, _notify_pm_state_cb, NULL)

SKKU Embedded Software Lab Used vconf value –VCONFKEY_PM_STATE LCD, power On/Off state –VCONFKEY_WIFI_STATE WiFi On/Off state –VCONFKEY_SYSMAN_BATTERY_CAPACITY Current battery capacity Hardware Information[2/2] Service Daemon vconf_notify Register Notify Stat File TimeValue

SKKU Embedded Software Lab Tizen::Graphics::Canvas –Using the Canvas to display a state change in the visual –Show battery usage graph and device on/off state –Use DrawLine for graph –Use FillRectangle for device on/off display Tizen::Ui::Controls::GroupedListView –Read the file and Show list by using GroupedListView –Add to the list as the number of app written in Applist –Display name and proportion of each App (%) UI Implementation [1/2]

SKKU Embedded Software Lab UI Implementation[2/2] Battery capacity LCD On/Off WiFi On/Off App list App proportion (Based on CPU/LCD usage)

SKKU Embedded Software Lab Demo Movie Demo

SKKU Embedded Software Lab Git Hub Service daemon code Edited app-core code for transfer app state UI Application Example code for Ecore main loop and vconfnotify