https://github.com/szym-mie/ecoclock
Kotlin WearOS clock /batter indicator app, with ambient mode
https://github.com/szym-mie/ecoclock
ambient-aware ambient-mode android-application clockface demo kotlin-android simple wearable wearos
Last synced: about 2 months ago
JSON representation
Kotlin WearOS clock /batter indicator app, with ambient mode
- Host: GitHub
- URL: https://github.com/szym-mie/ecoclock
- Owner: szym-mie
- Created: 2025-03-24T08:45:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-24T09:08:08.000Z (7 months ago)
- Last Synced: 2025-03-24T10:23:53.318Z (7 months ago)
- Topics: ambient-aware, ambient-mode, android-application, clockface, demo, kotlin-android, simple, wearable, wearos
- Language: Kotlin
- Homepage:
- Size: 177 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EcoClock
## WearOS clock app


### Features
- current time display
- battery indicator, with low charge warning
- ambient-aware, for use with always on displays
- update rate dependent on ambient mode### Packages
| package | description |
|:---------------:|:----------------------------------------------|
| `.components` | contains view components with rendering logic |
| `.presentation` | Android activity, view & layout classes |
| `.` | abstract base classes: atomic and component |### Classes
| class | description |
|:------------------:|:-------------------------------------------------|
| `Atom` | atomic value, that can be updated and read from |
| `Component` | extension of `Atom`, can be rendered on a canvas |
| `UpdateController` | ambient-aware update dispatcher for atomic views |### License
```
MIT LicenseCopyright (c) 2025 Szymon Miękina
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```