Questions tagged [consumption]
96 questions
0
votes
1 answer
How to make back consumable in-app product into non-consumable?
My android app uses in-app product. It's necessary for me to achieve at the same time two task:
user should have opportunity to buy the product several times. For that I can make product consumable using consumePurchase method.
I need to have…

Andrey Hitrikov
- 21
- 1
- 5
0
votes
1 answer
CLIPS huge memory usage
I'm using the clips framework to build an expert system. However I'm having trouble with memory usage atm, which would make it unsuitable for my task. So here is the problem:
It generates 144 of the SpinWave facts as its supposed to, with a total of…

steve
- 133
- 1
- 2
- 10
0
votes
2 answers
Calculate the Energy Consumption for a day based on series of Kw
I am not from a electric background person. For this project, I need to calculate the total energy consumption (kwH) for a device.
In this system, the reading of kW for each device is store in the database for each minute. My question is, how do i…

ameruddin jamil
- 155
- 4
- 18
0
votes
1 answer
JFXtras Agenda memory consumption
I'm facing some critical memory consumption issues when using JFXtras Agenda. First I thought it's on me, because I've implemented my own Skin which produces variable number of 'columns'. But it's the same problem with the FXSampler application.…

clic
- 365
- 1
- 13
0
votes
1 answer
Android touch screen power consumption
Hope this question is in the right place!
I am wondering what would be the power consumption of an app leaving the phone with the screen on, but light at minimum level, just so the screen may respond to touch. How much would turning the light to…

rubmz
- 1,947
- 5
- 27
- 49
0
votes
1 answer
Python the CPU consumption not down when sleep()
My code has two jobs, the first consumes CPU 0.3%, the second consumes CPU 80%. The two jobs are repeatly worked like this:
while True:
job1()
job2()
I find after the first loop, the CPU consumption not down even if it worked in job1(), the…

makicn
- 43
- 5
0
votes
2 answers
XML-RPC on Android Tablet (battery consumption)
I want to implement a XML-RPC server on an android tablet.
I have read some about web services and their great battery consumption.
How big is the battery comsumption with a XML-RPC server? Is it to big for a mobile device?

Simon Hilner
- 85
- 2
- 11
0
votes
1 answer
Android InApp Billing v3 cancel consumption
I have working app with in-app products (InApp billing v3).
Recently I've made an update for this app and made a terrible mistake there: I consumed some of purchases I didn't want to consume.
I issued an update and users updated the app and then…

RusArtM
- 1,116
- 3
- 15
- 22
0
votes
1 answer
Simulink - electrical appliances and consumption
I would like to ask you for idea or how to define (using Simulink blocks) an electrical appliance with their own power, and energy consumption in time. This block should be possible to switch on and off.
If anybody knows an example of something…

Zs.Zs.
- 63
- 1
- 1
- 6
0
votes
1 answer
Android memory used by ListView vs TableLayout
In an attempt at reducing total heap size of my app I was trying to change a TableLayout into a ListView.
The source list is an ArrayList which items containing a drawble, a text and a checkbox state. This array is entirely initialized…

3c71
- 4,313
- 31
- 43
0
votes
2 answers
iphone memory usage
After running with the memory analyzer, my app seems to increase its memory consumption very slowly.
The analyzer did detect memory leaks whenever certain events occur, which i quickly fixed. But this slow consumption of memory is occuring when im…

Edward An
- 1,727
- 5
- 15
- 16
0
votes
1 answer
How to implement in code to save battery life but keep iphone application live?
I have an iPhone application which does audio recording. What I want to achieve is to keep the application alive to do continuos recording but at the same time save battery life i.e. save power consumption
Just a note, I have used following code to…

Sayali
- 593
- 3
- 9
- 22
0
votes
1 answer
Memory usage of images in WPF
This is a comprehension question.
When I have an jpeg image (A4, 96DPI, 24 bits per pixel) which takes up 200KB at 90% quality level on the disk and I load it in WPF (e.g. with XAML).
WPF would have memory…

user1182735
- 764
- 9
- 21
0
votes
2 answers
DirectX small application consuming resources like hell
I am trying to learn some DirectX API and, for now, I have just a WINAPI window and a simple render function that displays a bitmap over the entire screen. My WINMAIN function:
LPDIRECT3D9 pD3D; // the Direct3D object
LPDIRECT3DDEVICE9 pd3dDevice;…

ali
- 10,927
- 20
- 89
- 138
-1
votes
1 answer
how to distribute raw value into multiple blank raw in the same column in data frame using python?
my data as:
id date consumption
1 1/2/2020 500
1 1/3/2020 nan
1 1/4/2020 nan
1 1/5/2020 nan
1 1/6/2020 900
consumption column represents a monthly reading of consumption and is cumulative.
i need to distribute…

ii mm
- 13
- 6