• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Swift
  • Created over 2 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Apple PLSQL viewer

Effective Power

Effective Power is a viewer for Apple's power logging diagnostics in PLSQL format. As the name suggests, these files are SQLite databases with a wealth of power-related information spread across many tables. Effective Power is my attempt at making sense of some of this data and presenting it in a useful way. The usual disclaimers apply: the files this tool works with have been reverse-engineered, so take a grain of salt when interpreting its results.

Getting PLSQL files

iOS internally stores energy metrics as PLSQL files. If you have a jailbroken device, you can pull them directly off the filesystem. If your device is not jailbroken, the easiest way to pull these files is to take a sysdiagnose, extract it, then look in the logs/powerlogs folder. Alternatively, you can follow Apple's instructions to enable battery life logging, which involve installing a debugging profile. The profile will be valid for 7 days, and will create day-by-day logs as you use your device. Once you have enough data, sync with your computer and the PLSQL files will be copied over, compressed, and placed in ~/Library/Logs/CrashReporter/MobileDevice/. Once you decompress them, you can load them into Effective Power for analysis.

More Repositories

1

Ensemble

Cast Mac windows to visionOS
Swift
832
star
2

unxip

A fast Xcode unarchiver
Swift
820
star
3

VirtualApple

Work with macOS VMs using Virtualization
Swift
257
star
4

TSOEnabler

Kernel extension that enables TSO for Apple silicon processes
C
239
star
5

AppleConnect

Peer-to-peer bidirectional connection based on Network.framework
Swift
105
star
6

Chronicle

High-performance Swift logging for the rest of us
Swift
100
star
7

OpenAdBlock

The free, open-source Content Blocker for 32- and 64-bit iOS devices
Swift
82
star
8

dummy_thicc

0xcafebabe
C
68
star
9

macOSSandboxInitializationBypass

App sandbox escapes for macOS
Objective-C
29
star
10

dotfiles

Configuration and stuff. Messy.
Shell
26
star
11

DetailsViewer

A macOS Mail plugin to show extra details
Swift
21
star
12

Jumpcut

Personal patches to change the UI a bit
Objective-C
19
star
13

DarkNight

Sherlocked macOS launch agent for synchronizing Night Shift and the macOS system appearance
Swift
16
star
14

tinycc

Fork of the Tiny C Compiler patched to compile code on iOS
C
16
star
15

CrankPlayer

A crank-based video player for the Panic Playdate
C
16
star
16

expresscall

Proof-of-concept LLVM fork to speculatively inline objc_msgSend
C++
15
star
17

Presentations

Slides and resources for talks I've given
14
star
18

vers

Prints version information for easy pasting into Bug Reporter
Swift
14
star
19

Cod

A binary Swift Coder implementation
Swift
11
star
20

break

App for School Loop
Swift
11
star
21

GenerateAppIcons

A command line tool to generate app icons
Swift
9
star
22

binja-swift-demangler

Binary Ninja plugin to demangle Swift function names
Python
9
star
23

DerivedDataDeleter

Source Editor Extension to delete Xcode's DerivedData folder
Swift
7
star
24

elevate

The concise C++ STL extension
C++
5
star
25

ions

List of ions for 68k TI calculators
C
5
star
26

homebrew-tap

Homebrew tap for personal projects
Ruby
4
star
27

Complicated

My personal watchOS widgets
Swift
3
star
28

ictf-carprey

CarPrey jeopardy challenge and writeup from iCTF 2019
Python
3
star
29

advent-of-code

Advent of Code
Python
3
star
30

ports

Portfiles for personal MacPorts ports
3
star
31

SFSEE

swift-format Source Editor Extension
Swift
3
star
32

saagarjha.github.io

SCSS
3
star
33

MailHeaderLock

OS X Mail plugin to lock headers
Swift
2
star
34

MARS

Fork of the MARS MIPS simulator, modified to behave better on macOS
Java
2
star
35

WWDC18-Scholarship-Submission

Submission for the WWDC18 Scholarships application
Swift
1
star
36

El-Capitan-Theme

OS X Yosemite inspired theme for Sublime Text 3
1
star
37

hdshell

CLI wrapper for HDFS
Swift
1
star
38

CCode

C compiler for non-jailbroken iOS devices using TinyCC
1
star
39

TIGCC-macOS

TIGCC compiled for macOS
C
1
star
40

bntv450-images

Boot, recovery, and patched (rooted) images for Barnes and Noble Nook Tablet 7"
1
star